#D71A21

Closest named color: Crimson (#DC143C). oklch(56.1% 0.217 26.9), rgb(215, 26, 33).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.217)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.05:1
White text5.17:1

Values

HEX#D71A21
RGBrgb(215, 26, 33)
HSLhsl(358, 78%, 47%)
OKLCHoklch(56.1% 0.217 26.9)

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 #D71A21 5.17:1 AA Lc -78.8 Fine for body text
Black text on #D71A21 4.05:1 AA large text Lc 30.7 Non-text elements, placeholder text
#D71A21 text on white 5.17:1 AA Lc 73.4 Content text, not long reading
#D71A21 text on black 4.05:1 AA large text Lc -28.3 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

    #FBCCC6

    oklch(88.4% 0.054 26.7)

  4. Step 300

    300

    #FAA89F

    oklch(80.9% 0.099 26.3)

  5. Step 400

    400

    #F2756A

    oklch(70.7% 0.156 26.9)

  6. Step 500

    500

    #EA4841

    oklch(63.2% 0.2 27)

  7. Step 600

    600 (this color)

    #D71A21

    oklch(56.1% 0.217 26.9)

  8. Step 700

    700

    #B70013

    oklch(49% 0.2 26.8)

  9. Step 800

    800

    #950C12

    oklch(42.6% 0.167 27)

  10. Step 900

    900

    #781817

    oklch(37.7% 0.131 26.6)

  11. Step 950

    950

    #47110E

    oklch(27.1% 0.083 27.3)

Export this scale for Tailwind in the Tailwind colors tool

#D71A21 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)#5E531E0.237
Deuteranopia (no green cones)#8A7B140.215
Tritanopia (no blue cones)#ED00210.042
Achromatopsia (no color)#6D6D6D0.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #D71A21

    #D71A21

    oklch(56.1% 0.217 26.9)

  • #008491

    #008491

    oklch(56.1% 0.096 206.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D71A21

    #D71A21

    oklch(56.1% 0.217 26.9)

  • #CE1977

    #CE1977

    oklch(56.2% 0.218 356.9)

  • #AF5C00

    #AF5C00

    oklch(56.2% 0.136 56.9)

Open the analogous palette in the generator

Split complementary

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

  • #D71A21

    #D71A21

    oklch(56.1% 0.217 26.9)

  • #008873

    #008873

    oklch(56% 0.104 176.7)

  • #007EB3

    #007EB3

    oklch(56.2% 0.122 236.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D71A21

    #D71A21

    oklch(56.1% 0.217 26.9)

  • #008D31

    #008D31

    oklch(56% 0.167 146.9)

  • #3C64F2

    #3C64F2

    oklch(56.1% 0.218 266.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D71A21

    #D71A21

    oklch(56.1% 0.217 26.9)

  • #707E00

    #707E00

    oklch(56.2% 0.13 117.2)

  • #008491

    #008491

    oklch(56.1% 0.096 206.9)

  • #864AE2

    #864AE2

    oklch(56.1% 0.218 296.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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