#D5221E

Closest named color: Crimson (#DC143C). oklch(56.1% 0.212 28.3), rgb(213, 34, 30).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.212)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.07:1
White text5.15:1

Values

HEX#D5221E
RGBrgb(213, 34, 30)
HSLhsl(1, 75%, 48%)
OKLCHoklch(56.1% 0.212 28.3)

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 #D5221E 5.15:1 AA Lc -78.9 Fine for body text
Black text on #D5221E 4.07:1 AA large text Lc 30.6 Non-text elements, placeholder text
#D5221E text on white 5.15:1 AA Lc 73.5 Content text, not long reading
#D5221E text on black 4.07:1 AA large text Lc -28.2 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

    #FACDC6

    oklch(88.5% 0.052 28.5)

  4. Step 300

    300

    #F8A99E

    oklch(80.8% 0.095 28.1)

  5. Step 400

    400

    #F17769

    oklch(70.8% 0.153 28.2)

  6. Step 500

    500

    #E84B3F

    oklch(63.2% 0.195 28.3)

  7. Step 600

    600 (this color)

    #D5221E

    oklch(56.1% 0.212 28.3)

  8. Step 700

    700

    #B6090D

    oklch(49.1% 0.197 28.3)

  9. Step 800

    800

    #941210

    oklch(42.7% 0.163 28.2)

  10. Step 900

    900

    #771B16

    oklch(37.8% 0.127 28.1)

  11. Step 950

    950

    #46120E

    oklch(27% 0.081 28.1)

Export this scale for Tailwind in the Tailwind colors tool

#D5221E 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)#5F551A0.231
Deuteranopia (no green cones)#8A7B110.209
Tritanopia (no blue cones)#EB00250.043
Achromatopsia (no color)#6D6D6D0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5221E

    #D5221E

    oklch(56.1% 0.212 28.3)

  • #008493

    #008493

    oklch(56.1% 0.097 208.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5221E

    #D5221E

    oklch(56.1% 0.212 28.3)

  • #CD1F74

    #CD1F74

    oklch(56.2% 0.212 358.2)

  • #AD5D00

    #AD5D00

    oklch(56.1% 0.134 58.2)

Open the analogous palette in the generator

Split complementary

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

  • #D5221E

    #D5221E

    oklch(56.1% 0.212 28.3)

  • #008875

    #008875

    oklch(56.1% 0.103 178.3)

  • #007DB5

    #007DB5

    oklch(56% 0.125 238.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5221E

    #D5221E

    oklch(56.1% 0.212 28.3)

  • #008D38

    #008D38

    oklch(56.1% 0.161 148.3)

  • #4264EF

    #4264EF

    oklch(56.2% 0.212 268.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5221E

    #D5221E

    oklch(56.1% 0.212 28.3)

  • #6E7E00

    #6E7E00

    oklch(56% 0.131 118.2)

  • #008493

    #008493

    oklch(56.1% 0.097 208.7)

  • #884BDE

    #884BDE

    oklch(56.2% 0.213 298.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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