#E21F2C

Closest named color: Crimson (#DC143C). oklch(58.5% 0.223 25.4), rgb(226, 31, 44).

Aa

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

About this color

#E21F2C is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.223 and its hue 25°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.025 away. White text reads best on it, at 4.70:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.223)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.46:1
White text4.70:1

Values

HEX#E21F2C
RGBrgb(226, 31, 44)
HSLhsl(356, 77%, 50%)
OKLCHoklch(58.5% 0.223 25.4)

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 #E21F2C 4.70:1 AA Lc -76.0 Fine for body text
Black text on #E21F2C 4.46:1 AA large text Lc 33.6 Non-text elements, placeholder text
#E21F2C text on white 4.70:1 AA Lc 70.5 Content text, not long reading
#E21F2C text on black 4.46:1 AA large text 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FCCCC6

    oklch(88.5% 0.055 26.5)

  4. Step 300

    300

    #FBA79F

    oklch(80.9% 0.101 25.5)

  5. Step 400

    400

    #F4736B

    oklch(70.7% 0.16 25.6)

  6. Step 500

    500

    #EC4343

    oklch(63.1% 0.206 25.3)

  7. Step 600

    600 (this color)

    #E21F2C

    oklch(58.5% 0.223 25.4)

  8. Step 700

    700

    #B7001A

    oklch(49.1% 0.199 25.4)

  9. Step 800

    800

    #970214

    oklch(42.7% 0.172 25.5)

  10. Step 900

    900

    #791518

    oklch(37.6% 0.134 25.3)

  11. Step 950

    950

    #47100F

    oklch(26.9% 0.084 25.7)

Export this scale for Tailwind in the Tailwind colors tool

#E21F2C 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)#63592A0.245
Deuteranopia (no green cones)#9282220.222
Tritanopia (no blue cones)#F900270.043
Achromatopsia (no color)#7474740.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #E21F2C

    #E21F2C

    oklch(58.5% 0.223 25.4)

  • #008C98

    #008C98

    oklch(58.4% 0.1 205.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E21F2C

    #E21F2C

    oklch(58.5% 0.223 25.4)

  • #D72081

    #D72081

    oklch(58.4% 0.224 355.5)

  • #BA6000

    #BA6000

    oklch(58.5% 0.144 55.5)

Open the analogous palette in the generator

Split complementary

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

  • #E21F2C

    #E21F2C

    oklch(58.5% 0.223 25.4)

  • #009078

    #009078

    oklch(58.3% 0.11 175.4)

  • #0086BB

    #0086BB

    oklch(58.6% 0.125 235.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E21F2C

    #E21F2C

    oklch(58.5% 0.223 25.4)

  • #00962A

    #00962A

    oklch(58.5% 0.182 145.4)

  • #3A6CFE

    #3A6CFE

    oklch(58.5% 0.224 265.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E21F2C

    #E21F2C

    oklch(58.5% 0.223 25.4)

  • #798400

    #798400

    oklch(58.4% 0.133 115.5)

  • #008C98

    #008C98

    oklch(58.4% 0.1 205.4)

  • #8B51EE

    #8B51EE

    oklch(58.5% 0.223 295.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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