#D4311B

Closest named color: Crimson (#DC143C). oklch(57% 0.202 31.1), rgb(212, 49, 27).

Aa

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

About this color

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

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

Values

HEX#D4311B
RGBrgb(212, 49, 27)
HSLhsl(7, 77%, 47%)
OKLCHoklch(57% 0.202 31.1)

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

    #FEF3F0

    oklch(97.2% 0.013 35.7)

  2. Step 100

    100

    #FBE4DF

    oklch(93.6% 0.026 32.2)

  3. Step 200

    200

    #F9CEC5

    oklch(88.6% 0.05 31.8)

  4. Step 300

    300

    #F6AB9D

    oklch(81% 0.091 30.9)

  5. Step 400

    400

    #ED7A67

    oklch(70.7% 0.146 30.8)

  6. Step 500

    500

    #E4513C

    oklch(63.1% 0.186 30.9)

  7. Step 600

    600 (this color)

    #D4311B

    oklch(57% 0.202 31.1)

  8. Step 700

    700

    #B31A04

    oklch(49.1% 0.188 31.1)

  9. Step 800

    800

    #911B0B

    oklch(42.7% 0.155 31.1)

  10. Step 900

    900

    #751F13

    oklch(37.8% 0.122 31.1)

  11. Step 950

    950

    #45140D

    oklch(27.1% 0.077 30.8)

Export this scale for Tailwind in the Tailwind colors tool

#D4311B 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)#6559150.216
Deuteranopia (no green cones)#8D7D0D0.195
Tritanopia (no blue cones)#EA002E0.051
Achromatopsia (no color)#7070700.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4311B

    #D4311B

    oklch(57% 0.202 31.1)

  • #008698

    #008698

    oklch(56.9% 0.099 211.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4311B

    #D4311B

    oklch(57% 0.202 31.1)

  • #CE2B70

    #CE2B70

    oklch(57% 0.203 1.1)

  • #AD6200

    #AD6200

    oklch(57% 0.132 61.7)

Open the analogous palette in the generator

Split complementary

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

  • #D4311B

    #D4311B

    oklch(57% 0.202 31.1)

  • #008B7B

    #008B7B

    oklch(57.1% 0.103 181)

  • #007FBE

    #007FBE

    oklch(57% 0.133 241.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4311B

    #D4311B

    oklch(57% 0.202 31.1)

  • #008F45

    #008F45

    oklch(56.9% 0.152 151.2)

  • #4F66EC

    #4F66EC

    oklch(56.9% 0.202 271.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4311B

    #D4311B

    oklch(57% 0.202 31.1)

  • #6C8300

    #6C8300

    oklch(57.1% 0.137 121.2)

  • #008698

    #008698

    oklch(56.9% 0.099 211.2)

  • #8E4FD9

    #8E4FD9

    oklch(57% 0.203 301.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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