#E02540

Closest named color: Crimson (#DC143C). oklch(58.7% 0.217 20.8), rgb(224, 37, 64).

Aa

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

About this color

#E02540 is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.217 and its hue 21°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.017 away. White text reads best on it, at 4.65:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.217)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.50:1
White text4.65:1

Values

HEX#E02540
RGBrgb(224, 37, 64)
HSLhsl(351, 75%, 51%)
OKLCHoklch(58.7% 0.217 20.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 #E02540 4.65:1 AA Lc -75.9 Fine for body text
Black text on #E02540 4.50:1 AA Lc 33.7 Non-text elements, placeholder text
#E02540 text on white 4.65:1 AA Lc 70.4 Content text, not long reading
#E02540 text on black 4.50:1 AA Lc -31.2 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FBCCCA

    oklch(88.5% 0.054 21.1)

  4. Step 300

    300

    #FAA7A6

    oklch(80.9% 0.099 20.2)

  5. Step 400

    400

    #F27376

    oklch(70.6% 0.157 20.5)

  6. Step 500

    500

    #E94552

    oklch(63% 0.2 20.8)

  7. Step 600

    600 (this color)

    #E02540

    oklch(58.7% 0.217 20.8)

  8. Step 700

    700

    #B6002B

    oklch(49.1% 0.197 20.8)

  9. Step 800

    800

    #950823

    oklch(42.7% 0.167 21)

  10. Step 900

    900

    #781722

    oklch(37.8% 0.131 20.5)

  11. Step 950

    950

    #471014

    oklch(27% 0.083 20.8)

Export this scale for Tailwind in the Tailwind colors tool

#E02540 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)#625B3F0.240
Deuteranopia (no green cones)#90823A0.218
Tritanopia (no blue cones)#F600320.042
Achromatopsia (no color)#7474740.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #E02540

    #E02540

    oklch(58.7% 0.217 20.8)

  • #008E94

    #008E94

    oklch(58.8% 0.1 200.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E02540

    #E02540

    oklch(58.7% 0.217 20.8)

  • #D22B8C

    #D22B8C

    oklch(58.6% 0.217 350.8)

  • #C15B00

    #C15B00

    oklch(58.7% 0.154 50.7)

Open the analogous palette in the generator

Split complementary

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

  • #E02540

    #E02540

    oklch(58.7% 0.217 20.8)

  • #009273

    #009273

    oklch(58.7% 0.115 170.8)

  • #0088B5

    #0088B5

    oklch(58.7% 0.118 230.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E02540

    #E02540

    oklch(58.7% 0.217 20.8)

  • #249600

    #249600

    oklch(58.8% 0.192 140.8)

  • #2372FA

    #2372FA

    oklch(58.7% 0.217 260.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E02540

    #E02540

    oklch(58.7% 0.217 20.8)

  • #818200

    #818200

    oklch(58.6% 0.128 110.3)

  • #008E94

    #008E94

    oklch(58.8% 0.1 200.1)

  • #8258F0

    #8258F0

    oklch(58.7% 0.217 290.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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