#EC2FAB

Closest named color: Bright Pink (#FE01B1). oklch(64.4% 0.245 346.4), rgb(236, 47, 171).

Aa

Black text reads best on this color (5.56:1).

About this color

#EC2FAB is a medium-light, vivid red. In OKLCH its lightness is 64%, its chroma 0.245 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Bright Pink (#FE01B1), ΔE 0.038 away. Black text reads best on it, at 5.56:1.

Hue familyReds
Lightnessmedium-light (64%)
Chromavivid (0.245)
Temperaturewarm
Nearest nameBright Pink (#FE01B1)
Black text5.56:1
White text3.77:1

Values

HEX#EC2FAB
RGBrgb(236, 47, 171)
HSLhsl(321, 83%, 55%)
OKLCHoklch(64.4% 0.245 346.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #EC2FAB 3.77:1 AA large text Lc -69.1 Content text, not long reading
Black text on #EC2FAB 5.56:1 AA Lc 40.4 Non-text elements, placeholder text
#EC2FAB text on white 3.77:1 AA large text Lc 63.6 Content text, not long reading
#EC2FAB text on black 5.56:1 AA Lc -38.0 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #FEF1F8

    oklch(97% 0.017 343.6)

  2. Step 100

    100

    #FCE1EF

    oklch(93.6% 0.035 345.1)

  3. Step 200

    200

    #FBC8E2

    oklch(88.5% 0.067 346.5)

  4. Step 300

    300

    #F9A0D0

    oklch(80.8% 0.12 346.6)

  5. Step 400

    400

    #F166B9

    oklch(70.7% 0.192 346.3)

  6. Step 500

    500 (this color)

    #EC2FAB

    oklch(64.4% 0.245 346.4)

  7. Step 600

    600

    #C9008F

    oklch(55.6% 0.235 346.2)

  8. Step 700

    700

    #AA0078

    oklch(49% 0.207 346.3)

  9. Step 800

    800

    #8D0063

    oklch(42.8% 0.181 346.3)

  10. Step 900

    900

    #760052

    oklch(37.6% 0.159 346.4)

  11. Step 950

    950

    #460830

    oklch(27% 0.101 346.7)

Export this scale for Tailwind in the Tailwind colors tool

#EC2FAB with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#4D6FAE0.276
Deuteranopia (no green cones)#868FA70.240
Tritanopia (no blue cones)#FD286B0.102
Achromatopsia (no color)#8383830.247

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #EC2FAB

    #EC2FAB

    oklch(64.4% 0.245 346.4)

  • #00A67B

    #00A67B

    oklch(64.3% 0.133 166.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC2FAB

    #EC2FAB

    oklch(64.4% 0.245 346.4)

  • #C54AEE

    #C54AEE

    oklch(64.4% 0.246 316.4)

  • #FF2057

    #FF2057

    oklch(64.4% 0.245 16.2)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #EC2FAB

    #EC2FAB

    oklch(64.4% 0.245 346.4)

  • #4EA600

    #4EA600

    oklch(64.5% 0.193 136.4)

  • #00A1A3

    #00A1A3

    oklch(64.3% 0.109 196.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC2FAB

    #EC2FAB

    oklch(64.4% 0.245 346.4)

  • #989200

    #989200

    oklch(64.4% 0.138 106.8)

  • #009BC6

    #009BC6

    oklch(64.2% 0.123 226.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC2FAB

    #EC2FAB

    oklch(64.4% 0.245 346.4)

  • #BB8000

    #BB8000

    oklch(64.4% 0.135 76.4)

  • #00A67B

    #00A67B

    oklch(64.3% 0.133 166.5)

  • #2D8BFF

    #2D8BFF

    oklch(64.4% 0.193 256.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #EC2FAB, closest first.

No curated palette has a color within ΔE 0.04 of #EC2FAB.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #EC2FAB in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.