#D40918

Closest named color: Cherry (#CF0234). oklch(54.9% 0.221 27.2), rgb(212, 9, 24).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.221)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.85:1
White text5.45:1

Values

HEX#D40918
RGBrgb(212, 9, 24)
HSLhsl(356, 92%, 43%)
OKLCHoklch(54.9% 0.221 27.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 #D40918 5.45:1 AA Lc -80.0 Fine for body text
Black text on #D40918 3.85:1 AA large text Lc 29.5 Dividers and decoration only
#D40918 text on white 5.45:1 AA Lc 74.6 Content text, not long reading
#D40918 text on black 3.85:1 AA large text Lc -27.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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FCCCC6

    oklch(88.5% 0.055 26.5)

  4. Step 300

    300

    #FAA89E

    oklch(80.9% 0.099 27.1)

  5. Step 400

    400

    #F47468

    oklch(70.8% 0.16 27.3)

  6. Step 500

    500

    #EB463E

    oklch(63.1% 0.203 27.4)

  7. Step 600

    600 (this color)

    #D40918

    oklch(54.9% 0.221 27.2)

  8. Step 700

    700

    #B70011

    oklch(49% 0.2 27.1)

  9. Step 800

    800

    #96070F

    oklch(42.6% 0.17 27.2)

  10. Step 900

    900

    #791715

    oklch(37.8% 0.133 27.2)

  11. Step 950

    950

    #47100E

    oklch(26.9% 0.084 26.6)

Export this scale for Tailwind in the Tailwind colors tool

#D40918 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)#5A4F140.242
Deuteranopia (no green cones)#8778040.219
Tritanopia (no blue cones)#EA00160.044
Achromatopsia (no color)#6969690.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #D40918

    #D40918

    oklch(54.9% 0.221 27.2)

  • #00808D

    #00808D

    oklch(54.8% 0.094 207.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D40918

    #D40918

    oklch(54.9% 0.221 27.2)

  • #CB0973

    #CB0973

    oklch(55% 0.221 357.2)

  • #A95900

    #A95900

    oklch(54.8% 0.133 57.1)

Open the analogous palette in the generator

Split complementary

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

  • #D40918

    #D40918

    oklch(54.9% 0.221 27.2)

  • #008470

    #008470

    oklch(54.8% 0.102 177.1)

  • #007AAE

    #007AAE

    oklch(54.9% 0.12 237.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D40918

    #D40918

    oklch(54.9% 0.221 27.2)

  • #008931

    #008931

    oklch(54.9% 0.162 147.2)

  • #395FF0

    #395FF0

    oklch(54.9% 0.222 267.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D40918

    #D40918

    oklch(54.9% 0.221 27.2)

  • #6D7A00

    #6D7A00

    oklch(55% 0.127 116.9)

  • #00808D

    #00808D

    oklch(54.8% 0.094 207.2)

  • #8345DF

    #8345DF

    oklch(55% 0.22 296.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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