#EC7FAB

Closest named color: Carnation Pink (#FF7FA7). oklch(73% 0.142 355.6), rgb(236, 127, 171).

Aa

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

About this color

#EC7FAB is a medium-light, vivid pink. In OKLCH its lightness is 73%, its chroma 0.142 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Carnation Pink (#FF7FA7), ΔE 0.034 away. Black text reads best on it, at 8.19:1.

Hue familyPinks
Lightnessmedium-light (73%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameCarnation Pink (#FF7FA7)
Black text8.19:1
White text2.56:1

Values

HEX#EC7FAB
RGBrgb(236, 127, 171)
HSLhsl(336, 74%, 71%)
OKLCHoklch(73% 0.142 355.6)

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 #EC7FAB 2.56:1 Fails Lc -54.9 Large or bold text, headings
Black text on #EC7FAB 8.19:1 AAA Lc 54.2 Large or bold text, headings
#EC7FAB text on white 2.56:1 Fails Lc 49.8 Large or bold text, headings
#EC7FAB text on black 8.19:1 AAA Lc -52.1 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F5CCDA

    oklch(88.4% 0.049 355.6)

  4. Step 300

    300

    #F0A9C3

    oklch(81% 0.089 355.6)

  5. Step 400

    400 (this color)

    #EC7FAB

    oklch(73% 0.142 355.6)

  6. Step 500

    500

    #D9508E

    oklch(63.1% 0.181 355.5)

  7. Step 600

    600

    #C42C78

    oklch(55.6% 0.197 355.5)

  8. Step 700

    700

    #A91C65

    oklch(49.2% 0.183 355.5)

  9. Step 800

    800

    #891B52

    oklch(42.6% 0.152 355.6)

  10. Step 900

    900

    #6E1F44

    oklch(37.7% 0.117 355.5)

  11. Step 950

    950

    #411328

    oklch(26.9% 0.076 355.1)

Export this scale for Tailwind in the Tailwind colors tool

#EC7FAB 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)#8D96AC0.155
Deuteranopia (no green cones)#A9A9A80.143
Tritanopia (no blue cones)#FB798F0.045
Achromatopsia (no color)#A2A2A20.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC7FAB

    #EC7FAB

    oklch(73% 0.142 355.6)

  • #00C3A4

    #00C3A4

    oklch(73% 0.137 175.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC7FAB

    #EC7FAB

    oklch(73% 0.142 355.6)

  • #D586D8

    #D586D8

    oklch(73% 0.143 325.6)

  • #F48178

    #F48178

    oklch(73% 0.142 25.8)

Open the analogous palette in the generator

Split complementary

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

  • #EC7FAB

    #EC7FAB

    oklch(73% 0.142 355.6)

  • #68BF6F

    #68BF6F

    oklch(73% 0.142 145.7)

  • #00BDCD

    #00BDCD

    oklch(72.9% 0.125 205.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC7FAB

    #EC7FAB

    oklch(73% 0.142 355.6)

  • #A4B23A

    #A4B23A

    oklch(73% 0.143 115.8)

  • #31B4F4

    #31B4F4

    oklch(73% 0.142 235.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC7FAB

    #EC7FAB

    oklch(73% 0.142 355.6)

  • #CFA01F

    #CFA01F

    oklch(73% 0.142 86.1)

  • #00C3A4

    #00C3A4

    oklch(73% 0.137 175.8)

  • #7DA4FF

    #7DA4FF

    oklch(72.9% 0.14 265.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #EC7FAB 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.