#D82021

Closest named color: Crimson (#DC143C). oklch(56.6% 0.215 27.5), rgb(216, 32, 33).

Aa

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

About this color

#D82021 is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.215 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.030 away. White text reads best on it, at 5.06:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.215)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.14:1
White text5.06:1

Values

HEX#D82021
RGBrgb(216, 32, 33)
HSLhsl(360, 74%, 49%)
OKLCHoklch(56.6% 0.215 27.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 #D82021 5.06:1 AA Lc -78.3 Fine for body text
Black text on #D82021 4.14:1 AA large text Lc 31.2 Non-text elements, placeholder text
#D82021 text on white 5.06:1 AA Lc 72.9 Content text, not long reading
#D82021 text on black 4.14:1 AA large text Lc -28.8 Dividers and decoration only

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

    #FCE3E0

    oklch(93.5% 0.028 25.9)

  3. Step 200

    200

    #FBCCC6

    oklch(88.4% 0.054 26.7)

  4. Step 300

    300

    #F9A99E

    oklch(81% 0.097 28)

  5. Step 400

    400

    #F27669

    oklch(70.8% 0.155 27.8)

  6. Step 500

    500

    #E94940

    oklch(63.1% 0.198 27.5)

  7. Step 600

    600 (this color)

    #D82021

    oklch(56.6% 0.215 27.5)

  8. Step 700

    700

    #B7000F

    oklch(49% 0.2 27.4)

  9. Step 800

    800

    #950E11

    oklch(42.7% 0.166 27.4)

  10. Step 900

    900

    #771916

    oklch(37.6% 0.129 27.4)

  11. Step 950

    950

    #46110E

    oklch(26.9% 0.082 27.3)

Export this scale for Tailwind in the Tailwind colors tool

#D82021 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)#60551E0.234
Deuteranopia (no green cones)#8C7C140.212
Tritanopia (no blue cones)#EE00240.042
Achromatopsia (no color)#6E6E6E0.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #D82021

    #D82021

    oklch(56.6% 0.215 27.5)

  • #008694

    #008694

    oklch(56.7% 0.097 207.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D82021

    #D82021

    oklch(56.6% 0.215 27.5)

  • #CF1E77

    #CF1E77

    oklch(56.6% 0.216 357.4)

  • #B05E00

    #B05E00

    oklch(56.7% 0.136 57.8)

Open the analogous palette in the generator

Split complementary

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

  • #D82021

    #D82021

    oklch(56.6% 0.215 27.5)

  • #008A76

    #008A76

    oklch(56.7% 0.105 177.7)

  • #007FB6

    #007FB6

    oklch(56.6% 0.125 237.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D82021

    #D82021

    oklch(56.6% 0.215 27.5)

  • #008F35

    #008F35

    oklch(56.7% 0.166 147.5)

  • #4065F2

    #4065F2

    oklch(56.5% 0.215 267.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D82021

    #D82021

    oklch(56.6% 0.215 27.5)

  • #717F00

    #717F00

    oklch(56.5% 0.131 117.2)

  • #008694

    #008694

    oklch(56.7% 0.097 207.7)

  • #884CE2

    #884CE2

    oklch(56.6% 0.216 297.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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