#EC52AB

Closest named color: Barbie Pink (#FE46A5). oklch(67.2% 0.208 348.5), rgb(236, 82, 171).

Aa

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

About this color

#EC52AB is a medium-light, vivid red. In OKLCH its lightness is 67%, its chroma 0.208 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Barbie Pink (#FE46A5), ΔE 0.035 away. Black text reads best on it, at 6.36:1.

Hue familyReds
Lightnessmedium-light (67%)
Chromavivid (0.208)
Temperaturewarm
Nearest nameBarbie Pink (#FE46A5)
Black text6.36:1
White text3.30:1

Values

HEX#EC52AB
RGBrgb(236, 82, 171)
HSLhsl(325, 80%, 62%)
OKLCHoklch(67.2% 0.208 348.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 #EC52AB 3.30:1 AA large text Lc -64.9 Content text, not long reading
Black text on #EC52AB 6.36:1 AA Lc 44.6 Non-text elements, placeholder text
#EC52AB text on white 3.30:1 AA large text Lc 59.4 Large or bold text, headings
#EC52AB text on black 6.36:1 AA Lc -42.3 Non-text elements, placeholder text

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

    #FFF1F7

    oklch(97.1% 0.017 349.5)

  2. Step 100

    100

    #FEE0EE

    oklch(93.5% 0.038 348)

  3. Step 200

    200

    #FFC6E1

    oklch(88.5% 0.073 348.6)

  4. Step 300

    300

    #FE9DCF

    oklch(80.9% 0.13 348.2)

  5. Step 400

    400 (this color)

    #EC52AB

    oklch(67.2% 0.208 348.5)

  6. Step 500

    500

    #F000A4

    oklch(63.2% 0.265 348.4)

  7. Step 600

    600

    #CB008A

    oklch(55.7% 0.234 348.4)

  8. Step 700

    700

    #AB0074

    oklch(49% 0.206 348.3)

  9. Step 800

    800

    #8E005F

    oklch(42.8% 0.179 348.6)

  10. Step 900

    900

    #77004F

    oklch(37.6% 0.158 348.5)

  11. Step 950

    950

    #49022F

    oklch(27% 0.11 348.7)

Export this scale for Tailwind in the Tailwind colors tool

#EC52AB 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)#667CAE0.229
Deuteranopia (no green cones)#9297A70.204
Tritanopia (no blue cones)#FC4C770.081
Achromatopsia (no color)#8D8D8D0.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC52AB

    #EC52AB

    oklch(67.2% 0.208 348.5)

  • #00B087

    #00B087

    oklch(67.3% 0.135 168.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC52AB

    #EC52AB

    oklch(67.2% 0.208 348.5)

  • #CA62E6

    #CA62E6

    oklch(67.2% 0.209 318.7)

  • #FB4F62

    #FB4F62

    oklch(67.2% 0.207 18.6)

Open the analogous palette in the generator

Split complementary

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

  • #EC52AB

    #EC52AB

    oklch(67.2% 0.208 348.5)

  • #46B206

    #46B206

    oklch(67.4% 0.208 138.5)

  • #00ABB0

    #00ABB0

    oklch(67.3% 0.114 198.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC52AB

    #EC52AB

    oklch(67.2% 0.208 348.5)

  • #9F9C00

    #9F9C00

    oklch(67.3% 0.145 108.4)

  • #00A4D6

    #00A4D6

    oklch(67.2% 0.132 228.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC52AB

    #EC52AB

    oklch(67.2% 0.208 348.5)

  • #C48900

    #C48900

    oklch(67.2% 0.14 78.2)

  • #00B087

    #00B087

    oklch(67.3% 0.135 168.6)

  • #4D94FF

    #4D94FF

    oklch(67.3% 0.174 258.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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