#D71F27

Closest named color: Crimson (#DC143C). oklch(56.4% 0.214 26.2), rgb(215, 31, 39).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.214)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.11:1
White text5.10:1

Values

HEX#D71F27
RGBrgb(215, 31, 39)
HSLhsl(357, 75%, 48%)
OKLCHoklch(56.4% 0.214 26.2)

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 #D71F27 5.10:1 AA Lc -78.6 Fine for body text
Black text on #D71F27 4.11:1 AA large text Lc 30.9 Non-text elements, placeholder text
#D71F27 text on white 5.10:1 AA Lc 73.1 Content text, not long reading
#D71F27 text on black 4.11:1 AA large text Lc -28.5 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

    #FBCCC7

    oklch(88.5% 0.054 25.3)

  4. Step 300

    300

    #F9A9A0

    oklch(81% 0.096 26.5)

  5. Step 400

    400

    #F1766C

    oklch(70.7% 0.153 26.4)

  6. Step 500

    500

    #E94944

    oklch(63.2% 0.198 26.3)

  7. Step 600

    600 (this color)

    #D71F27

    oklch(56.4% 0.214 26.2)

  8. Step 700

    700

    #B70117

    oklch(49.1% 0.199 26.1)

  9. Step 800

    800

    #950E16

    oklch(42.8% 0.166 26.1)

  10. Step 900

    900

    #771919

    oklch(37.6% 0.129 26)

  11. Step 950

    950

    #461110

    oklch(26.9% 0.081 25.4)

Export this scale for Tailwind in the Tailwind colors tool

#D71F27 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)#5F55240.234
Deuteranopia (no green cones)#8B7C1D0.213
Tritanopia (no blue cones)#ED00250.042
Achromatopsia (no color)#6E6E6E0.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #D71F27

    #D71F27

    oklch(56.4% 0.214 26.2)

  • #008592

    #008592

    oklch(56.4% 0.097 206.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D71F27

    #D71F27

    oklch(56.4% 0.214 26.2)

  • #CD1F79

    #CD1F79

    oklch(56.4% 0.214 356.2)

  • #B15C00

    #B15C00

    oklch(56.5% 0.138 56.1)

Open the analogous palette in the generator

Split complementary

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

  • #D71F27

    #D71F27

    oklch(56.4% 0.214 26.2)

  • #008973

    #008973

    oklch(56.3% 0.105 176.1)

  • #007FB3

    #007FB3

    oklch(56.4% 0.122 236.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D71F27

    #D71F27

    oklch(56.4% 0.214 26.2)

  • #008E2D

    #008E2D

    oklch(56.3% 0.171 146.2)

  • #3A66F1

    #3A66F1

    oklch(56.4% 0.214 266.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D71F27

    #D71F27

    oklch(56.4% 0.214 26.2)

  • #727E00

    #727E00

    oklch(56.4% 0.129 116.2)

  • #008592

    #008592

    oklch(56.4% 0.097 206.8)

  • #854DE2

    #854DE2

    oklch(56.4% 0.214 296.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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