#EC7ED2

Closest named color: Lavender Pink (#DD85D7). oklch(74.2% 0.168 336.8), rgb(236, 126, 210).

Aa

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

About this color

#EC7ED2 is a medium-light, vivid pink. In OKLCH its lightness is 74%, its chroma 0.168 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.028 away. Black text reads best on it, at 8.48:1.

Hue familyPinks
Lightnessmedium-light (74%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameLavender Pink (#DD85D7)
Black text8.48:1
White text2.47:1

Values

HEX#EC7ED2
RGBrgb(236, 126, 210)
HSLhsl(314, 74%, 71%)
OKLCHoklch(74.2% 0.168 336.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 #EC7ED2 2.47:1 Fails Lc -53.3 Large or bold text, headings
Black text on #EC7ED2 8.48:1 AAA Lc 55.7 Large or bold text, headings
#EC7ED2 text on white 2.47:1 Fails Lc 48.3 Large or bold text, headings
#EC7ED2 text on black 8.48:1 AAA Lc -53.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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E3F1

    oklch(93.7% 0.029 337.9)

  3. Step 200

    200

    #F3CBE7

    oklch(88.5% 0.058 337.1)

  4. Step 300

    300

    #ECA7DA

    oklch(81% 0.104 336.4)

  5. Step 400

    400 (this color)

    #EC7ED2

    oklch(74.2% 0.168 336.8)

  6. Step 500

    500

    #D446B8

    oklch(63% 0.215 336.7)

  7. Step 600

    600

    #BF18A4

    oklch(55.6% 0.233 336.6)

  8. Step 700

    700

    #A5008C

    oklch(49.2% 0.217 337)

  9. Step 800

    800

    #860D72

    oklch(42.8% 0.18 336.8)

  10. Step 900

    900

    #6C185C

    oklch(37.7% 0.14 336.9)

  11. Step 950

    950

    #3F1136

    oklch(27% 0.087 336.3)

Export this scale for Tailwind in the Tailwind colors tool

#EC7ED2 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)#809AD50.171
Deuteranopia (no green cones)#9EABCF0.155
Tritanopia (no blue cones)#F6829E0.082
Achromatopsia (no color)#A5A5A50.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC7ED2

    #EC7ED2

    oklch(74.2% 0.168 336.8)

  • #28CA7F

    #28CA7F

    oklch(74.2% 0.168 156.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC7ED2

    #EC7ED2

    oklch(74.2% 0.168 336.8)

  • #C78CFD

    #C78CFD

    oklch(74.2% 0.167 306.9)

  • #FF7A9A

    #FF7A9A

    oklch(74.2% 0.164 6.8)

Open the analogous palette in the generator

Split complementary

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

  • #EC7ED2

    #EC7ED2

    oklch(74.2% 0.168 336.8)

  • #8FBE36

    #8FBE36

    oklch(74.2% 0.168 126.9)

  • #00C5B9

    #00C5B9

    oklch(74.1% 0.129 187.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC7ED2

    #EC7ED2

    oklch(74.2% 0.168 336.8)

  • #C7AA00

    #C7AA00

    oklch(74.1% 0.153 96.8)

  • #00BFE1

    #00BFE1

    oklch(74.2% 0.132 216.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC7ED2

    #EC7ED2

    oklch(74.2% 0.168 336.8)

  • #EF9300

    #EF9300

    oklch(74.2% 0.164 66.7)

  • #28CA7F

    #28CA7F

    oklch(74.2% 0.168 156.8)

  • #58B2FF

    #58B2FF

    oklch(74.1% 0.141 247)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #EC7ED2.

Similar named colors

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

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