#D2021F

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

Aa

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

About this color

#D2021F 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#D2021F
RGBrgb(210, 2, 31)
HSLhsl(352, 98%, 42%)
OKLCHoklch(54.4% 0.22 25.6)

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 #D2021F 5.57:1 AA Lc -80.4 Fine for body text
Black text on #D2021F 3.76:1 AA large text Lc 29.0 Dividers and decoration only
#D2021F text on white 5.57:1 AA Lc 75.1 Fine for body text
#D2021F 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

    #FCCCC7

    oklch(88.6% 0.055 25.2)

  4. Step 300

    300

    #FAA8A0

    oklch(80.9% 0.098 25.6)

  5. Step 400

    400

    #F3746C

    oklch(70.7% 0.158 25.5)

  6. Step 500

    500

    #EB4544

    oklch(63.1% 0.203 25.4)

  7. Step 600

    600 (this color)

    #D2021F

    oklch(54.4% 0.22 25.6)

  8. Step 700

    700

    #B70019

    oklch(49.1% 0.199 25.7)

  9. Step 800

    800

    #960615

    oklch(42.6% 0.17 25.6)

  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

#D2021F 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)#574E1C0.244
Deuteranopia (no green cones)#8576110.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°).

  • #D2021F

    #D2021F

    oklch(54.4% 0.22 25.6)

  • #007F8A

    #007F8A

    oklch(54.4% 0.093 205.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2021F

    #D2021F

    oklch(54.4% 0.22 25.6)

  • #C80775

    #C80775

    oklch(54.5% 0.221 355.6)

  • #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°).

  • #D2021F

    #D2021F

    oklch(54.4% 0.22 25.6)

  • #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.

  • #D2021F

    #D2021F

    oklch(54.4% 0.22 25.6)

  • #008827

    #008827

    oklch(54.5% 0.168 145.6)

  • #315FED

    #315FED

    oklch(54.4% 0.22 265.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2021F

    #D2021F

    oklch(54.4% 0.22 25.6)

  • #6D7800

    #6D7800

    oklch(54.5% 0.124 116)

  • #007F8A

    #007F8A

    oklch(54.4% 0.093 205.4)

  • #7F44DE

    #7F44DE

    oklch(54.3% 0.22 295.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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