#D40E3B

Closest named color: Cherry (#CF0234). oklch(55.4% 0.217 19.3), rgb(212, 14, 59).

Aa

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

About this color

#D40E3B is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.217 and its hue 19°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.014 away. White text reads best on it, at 5.34:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.217)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.92:1
White text5.34:1

Values

HEX#D40E3B
RGBrgb(212, 14, 59)
HSLhsl(346, 88%, 44%)
OKLCHoklch(55.4% 0.217 19.3)

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 #D40E3B 5.34:1 AA Lc -79.6 Fine for body text
Black text on #D40E3B 3.92:1 AA large text Lc 29.9 Dividers and decoration only
#D40E3B text on white 5.34:1 AA Lc 74.2 Content text, not long reading
#D40E3B text on black 3.92:1 AA large text Lc -27.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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FBCCCB

    oklch(88.6% 0.053 19.6)

  4. Step 300

    300

    #FAA7A7

    oklch(80.9% 0.099 19.4)

  5. Step 400

    400

    #F27379

    oklch(70.7% 0.156 19)

  6. Step 500

    500

    #E94556

    oklch(63.1% 0.2 19.4)

  7. Step 600

    600 (this color)

    #D40E3B

    oklch(55.4% 0.217 19.3)

  8. Step 700

    700

    #B6002F

    oklch(49.1% 0.197 19.5)

  9. Step 800

    800

    #950727

    oklch(42.7% 0.167 19.2)

  10. Step 900

    900

    #781724

    oklch(37.8% 0.13 19.4)

  11. Step 950

    950

    #471015

    oklch(27.1% 0.083 19.7)

Export this scale for Tailwind in the Tailwind colors tool

#D40E3B 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)#57513B0.243
Deuteranopia (no green cones)#8578340.220
Tritanopia (no blue cones)#E900260.046
Achromatopsia (no color)#6B6B6B0.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #D40E3B

    #D40E3B

    oklch(55.4% 0.217 19.3)

  • #008388

    #008388

    oklch(55.4% 0.094 199.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D40E3B

    #D40E3B

    oklch(55.4% 0.217 19.3)

  • #C61C86

    #C61C86

    oklch(55.5% 0.218 349.3)

  • #B45200

    #B45200

    oklch(55.3% 0.148 49.4)

Open the analogous palette in the generator

Split complementary

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

  • #D40E3B

    #D40E3B

    oklch(55.4% 0.217 19.3)

  • #008768

    #008768

    oklch(55.4% 0.11 169.4)

  • #007EA6

    #007EA6

    oklch(55.5% 0.11 229.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D40E3B

    #D40E3B

    oklch(55.4% 0.217 19.3)

  • #2D8900

    #2D8900

    oklch(55.3% 0.176 139.3)

  • #0168EE

    #0168EE

    oklch(55.3% 0.218 259.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D40E3B

    #D40E3B

    oklch(55.4% 0.217 19.3)

  • #797800

    #797800

    oklch(55.5% 0.121 109.2)

  • #008388

    #008388

    oklch(55.4% 0.094 199.5)

  • #764EE6

    #764EE6

    oklch(55.4% 0.217 289.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D40E3B.

Similar named colors

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

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