#D5211F

Closest named color: Crimson (#DC143C). oklch(56.1% 0.212 28), rgb(213, 33, 31).

Aa

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

About this color

#D5211F 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.033 away. White text reads best on it, at 5.16:1.

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

Values

HEX#D5211F
RGBrgb(213, 33, 31)
HSLhsl(1, 75%, 48%)
OKLCHoklch(56.1% 0.212 28)

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 #D5211F 5.16:1 AA Lc -79.0 Fine for body text
Black text on #D5211F 4.06:1 AA large text Lc 30.5 Non-text elements, placeholder text
#D5211F text on white 5.16:1 AA Lc 73.6 Content text, not long reading
#D5211F text on black 4.06:1 AA large text Lc -28.1 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

    #FBCDC6

    oklch(88.6% 0.053 28.3)

  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

    #E84B40

    oklch(63.2% 0.195 28)

  7. Step 600

    600 (this color)

    #D5211F

    oklch(56.1% 0.212 28)

  8. Step 700

    700

    #B6070E

    oklch(49% 0.197 28)

  9. Step 800

    800

    #941111

    oklch(42.7% 0.164 27.8)

  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

#D5211F 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)#5F541B0.231
Deuteranopia (no green cones)#8A7B120.209
Tritanopia (no blue cones)#EB00240.043
Achromatopsia (no color)#6D6D6D0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5211F

    #D5211F

    oklch(56.1% 0.212 28)

  • #008492

    #008492

    oklch(56.1% 0.096 207.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5211F

    #D5211F

    oklch(56.1% 0.212 28)

  • #CC1F74

    #CC1F74

    oklch(56% 0.212 358)

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

  • #D5211F

    #D5211F

    oklch(56.1% 0.212 28)

  • #008875

    #008875

    oklch(56.1% 0.103 178.3)

  • #007DB4

    #007DB4

    oklch(56% 0.124 238)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5211F

    #D5211F

    oklch(56.1% 0.212 28)

  • #008D36

    #008D36

    oklch(56.1% 0.163 147.9)

  • #4164EF

    #4164EF

    oklch(56.1% 0.212 268)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5211F

    #D5211F

    oklch(56.1% 0.212 28)

  • #6F7E00

    #6F7E00

    oklch(56.1% 0.13 117.7)

  • #008492

    #008492

    oklch(56.1% 0.096 207.8)

  • #874BDE

    #874BDE

    oklch(56.1% 0.213 297.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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