#EC8EA2

Closest named color: Pig Pink (#E78EA5). oklch(75% 0.116 6.5), rgb(236, 142, 162).

Aa

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

About this color

#EC8EA2 is a medium-light, moderately saturated pink. In OKLCH its lightness is 75%, its chroma 0.116 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Pig Pink (#E78EA5), ΔE 0.009 away. Black text reads best on it, at 8.95:1.

Hue familyPinks
Lightnessmedium-light (75%)
Chromamoderately saturated (0.116)
Temperaturewarm
Nearest namePig Pink (#E78EA5)
Black text8.95:1
White text2.34:1

Values

HEX#EC8EA2
RGBrgb(236, 142, 162)
HSLhsl(347, 71%, 74%)
OKLCHoklch(75% 0.116 6.5)

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 #EC8EA2 2.34:1 Fails Lc -50.9 Large or bold text, headings
Black text on #EC8EA2 8.95:1 AAA Lc 58.0 Large or bold text, headings
#EC8EA2 text on white 2.34:1 Fails Lc 46.0 Large or bold text, headings
#EC8EA2 text on black 8.95:1 AAA Lc -56.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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F7E4E7

    oklch(93.5% 0.021 6.6)

  3. Step 200

    200

    #F2CFD5

    oklch(88.6% 0.04 6.3)

  4. Step 300

    300

    #EAAEB9

    oklch(80.9% 0.071 6.6)

  5. Step 400

    400 (this color)

    #EC8EA2

    oklch(75% 0.116 6.5)

  6. Step 500

    500

    #D15E7B

    oklch(63.2% 0.147 6.5)

  7. Step 600

    600

    #BC4064

    oklch(55.5% 0.161 6.3)

  8. Step 700

    700

    #A23153

    oklch(49.1% 0.15 6.4)

  9. Step 800

    800

    #842A44

    oklch(42.8% 0.125 6.5)

  10. Step 900

    900

    #6A2739

    oklch(37.6% 0.097 6.4)

  11. Step 950

    950

    #3E1821

    oklch(26.9% 0.06 7.1)

Export this scale for Tailwind in the Tailwind colors tool

#EC8EA2 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)#9D9FA30.127
Deuteranopia (no green cones)#B4B0A00.118
Tritanopia (no blue cones)#FB86950.030
Achromatopsia (no color)#A9A9A90.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC8EA2

    #EC8EA2

    oklch(75% 0.116 6.5)

  • #3DC5BA

    #3DC5BA

    oklch(74.9% 0.115 187.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC8EA2

    #EC8EA2

    oklch(75% 0.116 6.5)

  • #DD91C9

    #DD91C9

    oklch(75% 0.116 336.9)

  • #ED9379

    #ED9379

    oklch(75% 0.116 36.9)

Open the analogous palette in the generator

Split complementary

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

  • #EC8EA2

    #EC8EA2

    oklch(75% 0.116 6.5)

  • #6AC490

    #6AC490

    oklch(75% 0.116 156.8)

  • #40C0DD

    #40C0DD

    oklch(75.1% 0.116 216.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC8EA2

    #EC8EA2

    oklch(75% 0.116 6.5)

  • #9BBB68

    #9BBB68

    oklch(74.9% 0.115 126.3)

  • #6DB5F3

    #6DB5F3

    oklch(75.1% 0.116 246.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC8EA2

    #EC8EA2

    oklch(75% 0.116 6.5)

  • #C3AE51

    #C3AE51

    oklch(75% 0.116 96.7)

  • #3DC5BA

    #3DC5BA

    oklch(74.9% 0.115 187.1)

  • #9BA7F7

    #9BA7F7

    oklch(75% 0.116 276.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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