#EC7EA6

Closest named color: Carnation Pink (#FF7FA7). oklch(72.6% 0.141 358.1), rgb(236, 126, 166).

Aa

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

About this color

#EC7EA6 is a medium-light, vivid pink. In OKLCH its lightness is 73%, its chroma 0.141 and its hue 358°. 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.10:1.

Hue familyPinks
Lightnessmedium-light (73%)
Chromavivid (0.141)
Temperaturewarm
Nearest nameCarnation Pink (#FF7FA7)
Black text8.10:1
White text2.59:1

Values

HEX#EC7EA6
RGBrgb(236, 126, 166)
HSLhsl(338, 74%, 71%)
OKLCHoklch(72.6% 0.141 358.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 #EC7EA6 2.59:1 Fails Lc -55.4 Large or bold text, headings
Black text on #EC7EA6 8.10:1 AAA Lc 53.7 Large or bold text, headings
#EC7EA6 text on white 2.59:1 Fails Lc 50.3 Large or bold text, headings
#EC7EA6 text on black 8.10:1 AAA Lc -51.7 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F6CCD9

    oklch(88.5% 0.05 357.6)

  4. Step 300

    300

    #F0A9C0

    oklch(80.9% 0.088 358.2)

  5. Step 400

    400 (this color)

    #EC7EA6

    oklch(72.6% 0.141 358.1)

  6. Step 500

    500

    #DA5089

    oklch(63.1% 0.18 358)

  7. Step 600

    600

    #C52B73

    oklch(55.5% 0.197 357.8)

  8. Step 700

    700

    #AA1B60

    oklch(49.1% 0.183 358.1)

  9. Step 800

    800

    #8A1B4E

    oklch(42.7% 0.151 358.3)

  10. Step 900

    900

    #6F1E41

    oklch(37.6% 0.118 358)

  11. Step 950

    950

    #421326

    oklch(27% 0.076 358.4)

Export this scale for Tailwind in the Tailwind colors tool

#EC7EA6 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)#8E94A70.154
Deuteranopia (no green cones)#AAA8A30.142
Tritanopia (no blue cones)#FB778C0.042
Achromatopsia (no color)#A1A1A10.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC7EA6

    #EC7EA6

    oklch(72.6% 0.141 358.1)

  • #00C1A7

    #00C1A7

    oklch(72.6% 0.133 178.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC7EA6

    #EC7EA6

    oklch(72.6% 0.141 358.1)

  • #D685D3

    #D685D3

    oklch(72.7% 0.141 328.2)

  • #F28173

    #F28173

    oklch(72.6% 0.141 28.4)

Open the analogous palette in the generator

Split complementary

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

  • #EC7EA6

    #EC7EA6

    oklch(72.6% 0.141 358.1)

  • #61BF72

    #61BF72

    oklch(72.8% 0.142 148)

  • #00BCCF

    #00BCCF

    oklch(72.7% 0.125 207.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC7EA6

    #EC7EA6

    oklch(72.6% 0.141 358.1)

  • #9FB23E

    #9FB23E

    oklch(72.6% 0.141 118)

  • #3AB2F4

    #3AB2F4

    oklch(72.7% 0.141 237.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC7EA6

    #EC7EA6

    oklch(72.6% 0.141 358.1)

  • #CBA01E

    #CBA01E

    oklch(72.6% 0.141 88.1)

  • #00C1A7

    #00C1A7

    oklch(72.6% 0.133 178.4)

  • #81A2FF

    #81A2FF

    oklch(72.7% 0.141 268)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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