#EC7FAC

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

Aa

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

About this color

#EC7FAC is a medium-light, vivid pink. In OKLCH its lightness is 73%, its chroma 0.142 and its hue 355°. 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#EC7FAC
RGBrgb(236, 127, 172)
HSLhsl(335, 74%, 71%)
OKLCHoklch(73% 0.142 355.1)

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

    #F9E3EB

    oklch(93.6% 0.026 353.5)

  3. Step 200

    200

    #F5CCDB

    oklch(88.5% 0.05 354.2)

  4. Step 300

    300

    #EFA9C3

    oklch(80.9% 0.088 355.2)

  5. Step 400

    400 (this color)

    #EC7FAC

    oklch(73% 0.142 355.1)

  6. Step 500

    500

    #D9508F

    oklch(63.2% 0.182 355.1)

  7. Step 600

    600

    #C42C79

    oklch(55.6% 0.197 355.1)

  8. Step 700

    700

    #A91B66

    oklch(49.1% 0.184 355)

  9. Step 800

    800

    #891B53

    oklch(42.7% 0.152 355)

  10. Step 900

    900

    #6E1E45

    oklch(37.6% 0.119 354.5)

  11. Step 950

    950

    #411328

    oklch(26.9% 0.076 355.1)

Export this scale for Tailwind in the Tailwind colors tool

#EC7FAC 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)#8D96AD0.155
Deuteranopia (no green cones)#A9A9A90.142
Tritanopia (no blue cones)#FB798F0.046
Achromatopsia (no color)#A2A2A20.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC7FAC

    #EC7FAC

    oklch(73% 0.142 355.1)

  • #00C3A3

    #00C3A3

    oklch(73% 0.137 175.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC7FAC

    #EC7FAC

    oklch(73% 0.142 355.1)

  • #D486D9

    #D486D9

    oklch(72.9% 0.144 324.8)

  • #F48179

    #F48179

    oklch(73% 0.142 25.3)

Open the analogous palette in the generator

Split complementary

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

  • #EC7FAC

    #EC7FAC

    oklch(73% 0.142 355.1)

  • #69BF6D

    #69BF6D

    oklch(73% 0.143 144.9)

  • #00BDCD

    #00BDCD

    oklch(72.9% 0.125 205.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC7FAC

    #EC7FAC

    oklch(73% 0.142 355.1)

  • #A5B239

    #A5B239

    oklch(73.1% 0.143 115.3)

  • #2FB4F4

    #2FB4F4

    oklch(72.9% 0.143 235.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC7FAC

    #EC7FAC

    oklch(73% 0.142 355.1)

  • #D09F1F

    #D09F1F

    oklch(72.9% 0.142 85)

  • #00C3A3

    #00C3A3

    oklch(73% 0.137 175.2)

  • #7DA5FF

    #7DA5FF

    oklch(73.1% 0.138 265)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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