#E51252

Closest named color: Cerise (#DE0C62). oklch(59.1% 0.23 14.1), rgb(229, 18, 82).

Aa

White text reads best on this color (4.62:1).

About this color

#E51252 is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.230 and its hue 14°. Its hue sits on the warm side of the wheel. The nearest named color is Cerise (#DE0C62), ΔE 0.029 away. White text reads best on it, at 4.62:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.230)
Temperaturewarm
Nearest nameCerise (#DE0C62)
Black text4.53:1
White text4.62:1

Values

HEX#E51252
RGBrgb(229, 18, 82)
HSLhsl(342, 85%, 48%)
OKLCHoklch(59.1% 0.23 14.1)

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 #E51252 4.62:1 AA Lc -75.2 Fine for body text
Black text on #E51252 4.53:1 AA Lc 34.3 Non-text elements, placeholder text
#E51252 text on white 4.62:1 AA Lc 69.7 Content text, not long reading
#E51252 text on black 4.53:1 AA Lc -31.9 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 600.

  1. Step 50

    50

    #FFF2F3

    oklch(97.2% 0.014 12)

  2. Step 100

    100

    #FDE2E4

    oklch(93.5% 0.03 12.6)

  3. Step 200

    200

    #FDCACE

    oklch(88.5% 0.058 13)

  4. Step 300

    300

    #FCA5AC

    oklch(80.9% 0.103 14.4)

  5. Step 400

    400

    #F56F81

    oklch(70.7% 0.165 14)

  6. Step 500

    500

    #ED3C61

    oklch(63.1% 0.212 14.2)

  7. Step 600

    600 (this color)

    #E51252

    oklch(59.1% 0.23 14.1)

  8. Step 700

    700

    #B5003D

    oklch(49.2% 0.197 14.2)

  9. Step 800

    800

    #950031

    oklch(42.6% 0.17 14.1)

  10. Step 900

    900

    #7A102A

    oklch(37.8% 0.138 14.4)

  11. Step 950

    950

    #480D19

    oklch(27% 0.088 13.9)

Export this scale for Tailwind in the Tailwind colors tool

#E51252 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)#5D5A520.258
Deuteranopia (no green cones)#8F834C0.234
Tritanopia (no blue cones)#FB00330.055
Achromatopsia (no color)#7575750.232

Harmonies

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

Complementary

The opposite hue (180°).

  • #E51252

    #E51252

    oklch(59.1% 0.23 14.1)

  • #00908F

    #00908F

    oklch(59.1% 0.101 193.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E51252

    #E51252

    oklch(59.1% 0.23 14.1)

  • #D2269E

    #D2269E

    oklch(59.1% 0.23 344.1)

  • #CC5200

    #CC5200

    oklch(59.1% 0.171 44.3)

Open the analogous palette in the generator

Split complementary

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

  • #E51252

    #E51252

    oklch(59.1% 0.23 14.1)

  • #009469

    #009469

    oklch(59% 0.126 164.1)

  • #008BAE

    #008BAE

    oklch(59.1% 0.111 223.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E51252

    #E51252

    oklch(59.1% 0.23 14.1)

  • #4F9200

    #4F9200

    oklch(59.2% 0.17 134.1)

  • #007CE9

    #007CE9

    oklch(59.1% 0.188 254)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E51252

    #E51252

    oklch(59.1% 0.23 14.1)

  • #8A8000

    #8A8000

    oklch(59% 0.125 104.1)

  • #00908F

    #00908F

    oklch(59.1% 0.101 193.9)

  • #755BFE

    #755BFE

    oklch(59.1% 0.231 284.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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