#EC79A6

Closest named color: Carnation Pink (#FF7FA7). oklch(71.9% 0.149 356.8), rgb(236, 121, 166).

Aa

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

About this color

#EC79A6 is a medium-light, vivid pink. In OKLCH its lightness is 72%, its chroma 0.149 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Carnation Pink (#FF7FA7), ΔE 0.038 away. Black text reads best on it, at 7.85:1.

Hue familyPinks
Lightnessmedium-light (72%)
Chromavivid (0.149)
Temperaturewarm
Nearest nameCarnation Pink (#FF7FA7)
Black text7.85:1
White text2.67:1

Values

HEX#EC79A6
RGBrgb(236, 121, 166)
HSLhsl(337, 75%, 70%)
OKLCHoklch(71.9% 0.149 356.8)

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 #EC79A6 2.67:1 Fails Lc -56.7 Large or bold text, headings
Black text on #EC79A6 7.85:1 AAA Lc 52.5 Large or bold text, headings
#EC79A6 text on white 2.67:1 Fails Lc 51.6 Large or bold text, headings
#EC79A6 text on black 7.85:1 AAA Lc -50.3 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

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F7CCDA

    oklch(88.6% 0.052 356.7)

  4. Step 300

    300

    #F2A8C2

    oklch(81% 0.093 356.6)

  5. Step 400

    400 (this color)

    #EC79A6

    oklch(71.9% 0.149 356.8)

  6. Step 500

    500

    #DD4B8C

    oklch(63.1% 0.19 356.6)

  7. Step 600

    600

    #C82275

    oklch(55.5% 0.207 356.9)

  8. Step 700

    700

    #AD1063

    oklch(49.2% 0.193 356.7)

  9. Step 800

    800

    #8C1451

    oklch(42.7% 0.16 356.4)

  10. Step 900

    900

    #711B43

    oklch(37.7% 0.125 356.6)

  11. Step 950

    950

    #421227

    oklch(26.9% 0.078 356.6)

Export this scale for Tailwind in the Tailwind colors tool

#EC79A6 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)#8991A70.163
Deuteranopia (no green cones)#A7A6A30.150
Tritanopia (no blue cones)#FC72890.047
Achromatopsia (no color)#9E9E9E0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC79A6

    #EC79A6

    oklch(71.9% 0.149 356.8)

  • #00BFA2

    #00BFA2

    oklch(71.9% 0.134 176.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC79A6

    #EC79A6

    oklch(71.9% 0.149 356.8)

  • #D481D5

    #D481D5

    oklch(71.9% 0.148 326.6)

  • #F37B71

    #F37B71

    oklch(71.8% 0.149 26.3)

Open the analogous palette in the generator

Split complementary

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

  • #EC79A6

    #EC79A6

    oklch(71.9% 0.149 356.8)

  • #5DBD6A

    #5DBD6A

    oklch(72% 0.149 146.7)

  • #00B9CB

    #00B9CB

    oklch(71.8% 0.123 207.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC79A6

    #EC79A6

    oklch(71.9% 0.149 356.8)

  • #9FAF2E

    #9FAF2E

    oklch(71.8% 0.149 116.5)

  • #21B0F5

    #21B0F5

    oklch(71.8% 0.149 237)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC79A6

    #EC79A6

    oklch(71.9% 0.149 356.8)

  • #CC9D00

    #CC9D00

    oklch(72% 0.147 87)

  • #00BFA2

    #00BFA2

    oklch(71.9% 0.134 176.6)

  • #7BA0FF

    #7BA0FF

    oklch(72% 0.145 266.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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