#D42D31

Closest named color: Crimson (#DC143C). oklch(56.8% 0.202 25.5), rgb(212, 45, 49).

Aa

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

About this color

#D42D31 is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.202 and its hue 26°. 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 4.97:1.

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

Values

HEX#D42D31
RGBrgb(212, 45, 49)
HSLhsl(359, 66%, 50%)
OKLCHoklch(56.8% 0.202 25.5)

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 #D42D31 4.97:1 AA Lc -78.2 Fine for body text
Black text on #D42D31 4.21:1 AA large text Lc 31.3 Non-text elements, placeholder text
#D42D31 text on white 4.97:1 AA Lc 72.8 Content text, not long reading
#D42D31 text on black 4.21:1 AA large text Lc -28.9 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

    #FEF3F1

    oklch(97.2% 0.012 29.9)

  2. Step 100

    100

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F9CDC8

    oklch(88.5% 0.05 25.7)

  4. Step 300

    300

    #F6AAA2

    oklch(80.9% 0.091 25.9)

  5. Step 400

    400

    #EE7970

    oklch(70.8% 0.146 25.9)

  6. Step 500

    500

    #E44F4B

    oklch(63.1% 0.186 25.5)

  7. Step 600

    600 (this color)

    #D42D31

    oklch(56.8% 0.202 25.5)

  8. Step 700

    700

    #B31620

    oklch(49.1% 0.188 25.6)

  9. Step 800

    800

    #91181C

    oklch(42.6% 0.155 25.6)

  10. Step 900

    900

    #751E1D

    oklch(37.8% 0.121 25.7)

  11. Step 950

    950

    #451312

    oklch(27% 0.077 24.9)

Export this scale for Tailwind in the Tailwind colors tool

#D42D31 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)#62592F0.220
Deuteranopia (no green cones)#8B7D2A0.201
Tritanopia (no blue cones)#EA00310.044
Achromatopsia (no color)#7070700.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42D31

    #D42D31

    oklch(56.8% 0.202 25.5)

  • #008793

    #008793

    oklch(56.9% 0.097 205.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42D31

    #D42D31

    oklch(56.8% 0.202 25.5)

  • #CA2D7C

    #CA2D7C

    oklch(56.8% 0.202 355.4)

  • #B35C00

    #B35C00

    oklch(56.8% 0.14 55.5)

Open the analogous palette in the generator

Split complementary

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

  • #D42D31

    #D42D31

    oklch(56.8% 0.202 25.5)

  • #008B74

    #008B74

    oklch(56.9% 0.107 175.5)

  • #0081B4

    #0081B4

    oklch(57% 0.121 235.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42D31

    #D42D31

    oklch(56.8% 0.202 25.5)

  • #009029

    #009029

    oklch(56.8% 0.176 145.5)

  • #3C6AEC

    #3C6AEC

    oklch(56.8% 0.203 265.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42D31

    #D42D31

    oklch(56.8% 0.202 25.5)

  • #747F00

    #747F00

    oklch(56.8% 0.129 115.7)

  • #008793

    #008793

    oklch(56.9% 0.097 205.8)

  • #8453DE

    #8453DE

    oklch(56.9% 0.202 295.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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