#EC7FAA

Closest named color: Carnation Pink (#FF7FA7). oklch(72.9% 0.142 356.2), rgb(236, 127, 170).

Aa

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

About this color

#EC7FAA is a medium-light, vivid pink. In OKLCH its lightness is 73%, its chroma 0.142 and its hue 356°. 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.18:1.

Hue familyPinks
Lightnessmedium-light (73%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameCarnation Pink (#FF7FA7)
Black text8.18:1
White text2.56:1

Values

HEX#EC7FAA
RGBrgb(236, 127, 170)
HSLhsl(336, 74%, 71%)
OKLCHoklch(72.9% 0.142 356.2)

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 #EC7FAA 2.56:1 Fails Lc -55.0 Large or bold text, headings
Black text on #EC7FAA 8.18:1 AAA Lc 54.2 Large or bold text, headings
#EC7FAA text on white 2.56:1 Fails Lc 49.9 Large or bold text, headings
#EC7FAA text on black 8.18:1 AAA Lc -52.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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F5CCDA

    oklch(88.4% 0.049 355.6)

  4. Step 300

    300

    #F0A9C2

    oklch(80.9% 0.089 356.4)

  5. Step 400

    400 (this color)

    #EC7FAA

    oklch(72.9% 0.142 356.2)

  6. Step 500

    500

    #D9508D

    oklch(63.1% 0.181 356)

  7. Step 600

    600

    #C42C77

    oklch(55.6% 0.197 355.9)

  8. Step 700

    700

    #A91C64

    oklch(49.1% 0.183 356)

  9. Step 800

    800

    #891B51

    oklch(42.6% 0.151 356.2)

  10. Step 900

    900

    #6F1F43

    oklch(37.8% 0.118 356.7)

  11. Step 950

    950

    #411427

    oklch(27% 0.073 356.9)

Export this scale for Tailwind in the Tailwind colors tool

#EC7FAA 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)#8E96AB0.154
Deuteranopia (no green cones)#A9A9A70.143
Tritanopia (no blue cones)#FB798F0.043
Achromatopsia (no color)#A2A2A20.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC7FAA

    #EC7FAA

    oklch(72.9% 0.142 356.2)

  • #00C3A4

    #00C3A4

    oklch(73% 0.137 175.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC7FAA

    #EC7FAA

    oklch(72.9% 0.142 356.2)

  • #D586D7

    #D586D7

    oklch(72.9% 0.142 326)

  • #F38177

    #F38177

    oklch(72.8% 0.141 26.3)

Open the analogous palette in the generator

Split complementary

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

  • #EC7FAA

    #EC7FAA

    oklch(72.9% 0.142 356.2)

  • #66BF70

    #66BF70

    oklch(72.9% 0.142 146.4)

  • #00BDCE

    #00BDCE

    oklch(72.9% 0.125 206.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC7FAA

    #EC7FAA

    oklch(72.9% 0.142 356.2)

  • #A3B23C

    #A3B23C

    oklch(72.9% 0.141 116.2)

  • #34B4F4

    #34B4F4

    oklch(73% 0.141 236)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC7FAA

    #EC7FAA

    oklch(72.9% 0.142 356.2)

  • #CFA020

    #CFA020

    oklch(73% 0.142 86)

  • #00C3A4

    #00C3A4

    oklch(73% 0.137 175.8)

  • #7EA4FF

    #7EA4FF

    oklch(73% 0.139 265.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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