#D1021D

Closest named color: Cherry (#CF0234). oklch(54.2% 0.22 26), rgb(209, 2, 29).

Aa

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

About this color

#D1021D 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.61:1.

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

Values

HEX#D1021D
RGBrgb(209, 2, 29)
HSLhsl(352, 98%, 41%)
OKLCHoklch(54.2% 0.22 26)

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 #D1021D 5.61:1 AA Lc -80.7 Fine for body text
Black text on #D1021D 3.73:1 AA large text Lc 28.8 Dividers and decoration only
#D1021D text on white 5.61:1 AA Lc 75.3 Fine for body text
#D1021D text on black 3.73:1 AA large text Lc -26.4 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

    #EB4643

    oklch(63.2% 0.202 26)

  7. Step 600

    600 (this color)

    #D1021D

    oklch(54.2% 0.22 26)

  8. Step 700

    700

    #B70018

    oklch(49.1% 0.199 25.9)

  9. Step 800

    800

    #960814

    oklch(42.7% 0.169 26.1)

  10. Step 900

    900

    #781718

    oklch(37.6% 0.131 25.8)

  11. Step 950

    950

    #47100F

    oklch(26.9% 0.084 25.7)

Export this scale for Tailwind in the Tailwind colors tool

#D1021D 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)#574D1A0.243
Deuteranopia (no green cones)#84760E0.220
Tritanopia (no blue cones)#E700140.046
Achromatopsia (no color)#6767670.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1021D

    #D1021D

    oklch(54.2% 0.22 26)

  • #007E8A

    #007E8A

    oklch(54.2% 0.093 206.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1021D

    #D1021D

    oklch(54.2% 0.22 26)

  • #C70673

    #C70673

    oklch(54.2% 0.22 356.2)

  • #A85700

    #A85700

    oklch(54.4% 0.133 56.1)

Open the analogous palette in the generator

Split complementary

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

  • #D1021D

    #D1021D

    oklch(54.2% 0.22 26)

  • #00826D

    #00826D

    oklch(54.2% 0.101 176.1)

  • #0078AA

    #0078AA

    oklch(54.2% 0.117 236.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1021D

    #D1021D

    oklch(54.2% 0.22 26)

  • #008729

    #008729

    oklch(54.2% 0.166 146)

  • #325EEC

    #325EEC

    oklch(54.2% 0.219 265.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1021D

    #D1021D

    oklch(54.2% 0.22 26)

  • #6C7700

    #6C7700

    oklch(54.1% 0.124 116)

  • #007E8A

    #007E8A

    oklch(54.2% 0.093 206.5)

  • #7F44DD

    #7F44DD

    oklch(54.3% 0.219 295.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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