#D40B45

Closest named color: Lipstick (#D5174E). oklch(55.5% 0.218 16), rgb(212, 11, 69).

Aa

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

About this color

#D40B45 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.218 and its hue 16°. Its hue sits on the warm side of the wheel. The nearest named color is Lipstick (#D5174E), ΔE 0.012 away. White text reads best on it, at 5.33:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.218)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text3.93:1
White text5.33:1

Values

HEX#D40B45
RGBrgb(212, 11, 69)
HSLhsl(343, 90%, 44%)
OKLCHoklch(55.5% 0.218 16)

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 #D40B45 5.33:1 AA Lc -79.5 Fine for body text
Black text on #D40B45 3.93:1 AA large text Lc 30.0 Dividers and decoration only
#D40B45 text on white 5.33:1 AA Lc 74.1 Content text, not long reading
#D40B45 text on black 3.93:1 AA large text Lc -27.6 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

    #FCE3E3

    oklch(93.6% 0.028 17.7)

  3. Step 200

    200

    #FBCBCD

    oklch(88.4% 0.055 15.4)

  4. Step 300

    300

    #F9A7AB

    oklch(80.9% 0.097 16.2)

  5. Step 400

    400

    #F2727F

    oklch(70.7% 0.158 15.7)

  6. Step 500

    500

    #E9445F

    oklch(63.1% 0.2 15.9)

  7. Step 600

    600 (this color)

    #D40B45

    oklch(55.5% 0.218 16)

  8. Step 700

    700

    #B50038

    oklch(49.1% 0.196 16.1)

  9. Step 800

    800

    #95052E

    oklch(42.7% 0.168 15.9)

  10. Step 900

    900

    #781629

    oklch(37.8% 0.131 16)

  11. Step 950

    950

    #471018

    oklch(27.1% 0.083 16.4)

Export this scale for Tailwind in the Tailwind colors tool

#D40B45 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)#5552450.246
Deuteranopia (no green cones)#84783F0.222
Tritanopia (no blue cones)#E9002A0.051
Achromatopsia (no color)#6B6B6B0.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #D40B45

    #D40B45

    oklch(55.5% 0.218 16)

  • #008485

    #008485

    oklch(55.6% 0.095 195.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D40B45

    #D40B45

    oklch(55.5% 0.218 16)

  • #C41E8D

    #C41E8D

    oklch(55.6% 0.219 346.2)

  • #B94E00

    #B94E00

    oklch(55.5% 0.156 46.2)

Open the analogous palette in the generator

Split complementary

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

  • #D40B45

    #D40B45

    oklch(55.5% 0.218 16)

  • #008863

    #008863

    oklch(55.6% 0.116 165.8)

  • #007FA2

    #007FA2

    oklch(55.5% 0.106 225.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D40B45

    #D40B45

    oklch(55.5% 0.218 16)

  • #408700

    #408700

    oklch(55.5% 0.165 136)

  • #006FDE

    #006FDE

    oklch(55.5% 0.189 256)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D40B45

    #D40B45

    oklch(55.5% 0.218 16)

  • #7D7600

    #7D7600

    oklch(55.4% 0.118 105.5)

  • #008485

    #008485

    oklch(55.6% 0.095 195.7)

  • #6F51E9

    #6F51E9

    oklch(55.5% 0.218 286)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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