#EC51A4

Closest named color: Barbie Pink (#FE46A5). oklch(66.9% 0.206 351), rgb(236, 81, 164).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-light (67%)
Chromavivid (0.206)
Temperaturewarm
Nearest nameBarbie Pink (#FE46A5)
Black text6.27:1
White text3.34:1

Values

HEX#EC51A4
RGBrgb(236, 81, 164)
HSLhsl(328, 80%, 62%)
OKLCHoklch(66.9% 0.206 351)

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 #EC51A4 3.34:1 AA large text Lc -65.3 Content text, not long reading
Black text on #EC51A4 6.27:1 AA Lc 44.2 Non-text elements, placeholder text
#EC51A4 text on white 3.34:1 AA large text Lc 59.9 Large or bold text, headings
#EC51A4 text on black 6.27:1 AA Lc -41.8 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 500.

  1. Step 50

    50

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE2EC

    oklch(93.5% 0.029 350.5)

  3. Step 200

    200

    #F7CBDE

    oklch(88.5% 0.055 350.5)

  4. Step 300

    300

    #F3A6C8

    oklch(80.9% 0.1 351.5)

  5. Step 400

    400

    #E972AD

    oklch(70.8% 0.16 351)

  6. Step 500

    500 (this color)

    #EC51A4

    oklch(66.9% 0.206 351)

  7. Step 600

    600

    #CA1283

    oklch(55.7% 0.224 351.1)

  8. Step 700

    700

    #AD006E

    oklch(49.2% 0.204 351.3)

  9. Step 800

    800

    #8D085A

    oklch(42.7% 0.172 351.1)

  10. Step 900

    900

    #72164A

    oklch(37.7% 0.135 351.2)

  11. Step 950

    950

    #43102B

    oklch(27% 0.084 351.6)

Export this scale for Tailwind in the Tailwind colors tool

#EC51A4 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)#687BA60.228
Deuteranopia (no green cones)#9497A00.204
Tritanopia (no blue cones)#FD48740.075
Achromatopsia (no color)#8C8C8C0.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC51A4

    #EC51A4

    oklch(66.9% 0.206 351)

  • #00AE8A

    #00AE8A

    oklch(66.8% 0.131 171.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC51A4

    #EC51A4

    oklch(66.9% 0.206 351)

  • #CB61E0

    #CB61E0

    oklch(66.9% 0.205 320.8)

  • #FA4F5B

    #FA4F5B

    oklch(66.9% 0.207 20.9)

Open the analogous palette in the generator

Split complementary

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

  • #EC51A4

    #EC51A4

    oklch(66.9% 0.206 351)

  • #37B120

    #37B120

    oklch(66.7% 0.206 141)

  • #00A9B1

    #00A9B1

    oklch(66.8% 0.114 200.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC51A4

    #EC51A4

    oklch(66.9% 0.206 351)

  • #999C00

    #999C00

    oklch(66.8% 0.147 111.1)

  • #00A2D8

    #00A2D8

    oklch(66.8% 0.135 231.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC51A4

    #EC51A4

    oklch(66.9% 0.206 351)

  • #C08A00

    #C08A00

    oklch(66.9% 0.138 80.8)

  • #00AE8A

    #00AE8A

    oklch(66.8% 0.131 171.1)

  • #5391FF

    #5391FF

    oklch(66.9% 0.175 260.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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