#D2021E

Closest named color: Cherry (#CF0234). oklch(54.4% 0.22 25.8), rgb(210, 2, 30).

Aa

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

About this color

#D2021E is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.220 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.021 away. White text reads best on it, at 5.57:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.220)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.76:1
White text5.57:1

Values

HEX#D2021E
RGBrgb(210, 2, 30)
HSLhsl(352, 98%, 42%)
OKLCHoklch(54.4% 0.22 25.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 #D2021E 5.57:1 AA Lc -80.4 Fine for body text
Black text on #D2021E 3.76:1 AA large text Lc 29.0 Dividers and decoration only
#D2021E text on white 5.57:1 AA Lc 75.1 Fine for body text
#D2021E text on black 3.76:1 AA large text Lc -26.7 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

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FCCCC6

    oklch(88.5% 0.055 26.5)

  4. Step 300

    300

    #FAA89F

    oklch(80.9% 0.099 26.3)

  5. Step 400

    400

    #F3746B

    oklch(70.7% 0.158 26)

  6. Step 500

    500

    #EB4543

    oklch(63.1% 0.203 25.7)

  7. Step 600

    600 (this color)

    #D2021E

    oklch(54.4% 0.22 25.8)

  8. Step 700

    700

    #B70018

    oklch(49.1% 0.199 25.9)

  9. Step 800

    800

    #960714

    oklch(42.7% 0.169 26)

  10. Step 900

    900

    #791718

    oklch(37.8% 0.133 25.9)

  11. Step 950

    950

    #47100F

    oklch(26.9% 0.084 25.7)

Export this scale for Tailwind in the Tailwind colors tool

#D2021E 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)#574E1B0.244
Deuteranopia (no green cones)#8576100.219
Tritanopia (no blue cones)#E800150.046
Achromatopsia (no color)#6868680.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2021E

    #D2021E

    oklch(54.4% 0.22 25.8)

  • #007F8A

    #007F8A

    oklch(54.4% 0.093 205.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2021E

    #D2021E

    oklch(54.4% 0.22 25.8)

  • #C80774

    #C80774

    oklch(54.5% 0.22 356)

  • #A95700

    #A95700

    oklch(54.5% 0.134 55.8)

Open the analogous palette in the generator

Split complementary

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

  • #D2021E

    #D2021E

    oklch(54.4% 0.22 25.8)

  • #00836D

    #00836D

    oklch(54.5% 0.102 175.4)

  • #0079AA

    #0079AA

    oklch(54.4% 0.117 235.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2021E

    #D2021E

    oklch(54.4% 0.22 25.8)

  • #008828

    #008828

    oklch(54.5% 0.168 145.8)

  • #325FEE

    #325FEE

    oklch(54.5% 0.221 265.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2021E

    #D2021E

    oklch(54.4% 0.22 25.8)

  • #6D7800

    #6D7800

    oklch(54.5% 0.124 116)

  • #007F8A

    #007F8A

    oklch(54.4% 0.093 205.4)

  • #8044DE

    #8044DE

    oklch(54.4% 0.22 296.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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