#D9271A

Closest named color: Crimson (#DC143C). oklch(57.1% 0.213 29.6), rgb(217, 39, 26).

Aa

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

About this color

#D9271A is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.213 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.037 away. White text reads best on it, at 4.93:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.213)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.25:1
White text4.93:1

Values

HEX#D9271A
RGBrgb(217, 39, 26)
HSLhsl(4, 79%, 48%)
OKLCHoklch(57.1% 0.213 29.6)

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 #D9271A 4.93:1 AA Lc -77.7 Fine for body text
Black text on #D9271A 4.25:1 AA large text Lc 31.8 Non-text elements, placeholder text
#D9271A text on white 4.93:1 AA Lc 72.3 Content text, not long reading
#D9271A text on black 4.25:1 AA large text Lc -29.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

    #FEF2F0

    oklch(97% 0.013 28.9)

  2. Step 100

    100

    #FCE3DF

    oklch(93.5% 0.028 28.5)

  3. Step 200

    200

    #FBCDC5

    oklch(88.6% 0.054 29.6)

  4. Step 300

    300

    #F8A99C

    oklch(80.8% 0.096 29.6)

  5. Step 400

    400

    #F17766

    oklch(70.7% 0.154 29.6)

  6. Step 500

    500

    #E84B3B

    oklch(63.1% 0.196 29.4)

  7. Step 600

    600 (this color)

    #D9271A

    oklch(57.1% 0.213 29.6)

  8. Step 700

    700

    #B70801

    oklch(49.2% 0.199 29.6)

  9. Step 800

    800

    #941209

    oklch(42.7% 0.164 29.7)

  10. Step 900

    900

    #771B12

    oklch(37.7% 0.128 29.8)

  11. Step 950

    950

    #46120C

    oklch(27% 0.081 29.8)

Export this scale for Tailwind in the Tailwind colors tool

#D9271A 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)#6357140.230
Deuteranopia (no green cones)#8E7E090.208
Tritanopia (no blue cones)#F000270.047
Achromatopsia (no color)#7070700.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9271A

    #D9271A

    oklch(57.1% 0.213 29.6)

  • #008797

    #008797

    oklch(57.1% 0.099 209.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9271A

    #D9271A

    oklch(57.1% 0.213 29.6)

  • #D12274

    #D12274

    oklch(57.1% 0.213 359.3)

  • #B06100

    #B06100

    oklch(57.2% 0.134 59.8)

Open the analogous palette in the generator

Split complementary

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

  • #D9271A

    #D9271A

    oklch(57.1% 0.213 29.6)

  • #008B7A

    #008B7A

    oklch(57.1% 0.103 180.2)

  • #0080BC

    #0080BC

    oklch(57.2% 0.13 239.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9271A

    #D9271A

    oklch(57.1% 0.213 29.6)

  • #00903F

    #00903F

    oklch(57.1% 0.159 149.5)

  • #4966F3

    #4966F3

    oklch(57.2% 0.213 269.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9271A

    #D9271A

    oklch(57.1% 0.213 29.6)

  • #6F8200

    #6F8200

    oklch(57.1% 0.135 119.4)

  • #008797

    #008797

    oklch(57.1% 0.099 209.3)

  • #8D4DE0

    #8D4DE0

    oklch(57.1% 0.213 299.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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