#D40D55

Closest named color: Lipstick (#D5174E). oklch(55.9% 0.219 10.5), rgb(212, 13, 85).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.219)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text3.98:1
White text5.26:1

Values

HEX#D40D55
RGBrgb(212, 13, 85)
HSLhsl(338, 88%, 44%)
OKLCHoklch(55.9% 0.219 10.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 #D40D55 5.26:1 AA Lc -79.2 Fine for body text
Black text on #D40D55 3.98:1 AA large text Lc 30.3 Non-text elements, placeholder text
#D40D55 text on white 5.26:1 AA Lc 73.8 Content text, not long reading
#D40D55 text on black 3.98:1 AA large text Lc -27.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

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FCE3E5

    oklch(93.7% 0.028 12.1)

  3. Step 200

    200

    #FBCBD0

    oklch(88.5% 0.055 11.2)

  4. Step 300

    300

    #F9A6B1

    oklch(80.9% 0.099 10.8)

  5. Step 400

    400

    #F17289

    oklch(70.8% 0.157 10.7)

  6. Step 500

    500

    #E8436C

    oklch(63.2% 0.201 10.6)

  7. Step 600

    600 (this color)

    #D40D55

    oklch(55.9% 0.219 10.5)

  8. Step 700

    700

    #B40046

    oklch(49.2% 0.197 10.4)

  9. Step 800

    800

    #940439

    oklch(42.8% 0.169 10.3)

  10. Step 900

    900

    #771531

    oklch(37.7% 0.132 10.2)

  11. Step 950

    950

    #460F1D

    oklch(26.9% 0.084 9.7)

Export this scale for Tailwind in the Tailwind colors tool

#D40D55 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)#5353560.247
Deuteranopia (no green cones)#8279500.224
Tritanopia (no blue cones)#E800330.058
Achromatopsia (no color)#6C6C6C0.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #D40D55

    #D40D55

    oklch(55.9% 0.219 10.5)

  • #008681

    #008681

    oklch(56% 0.097 190.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D40D55

    #D40D55

    oklch(55.9% 0.219 10.5)

  • #C0259A

    #C0259A

    oklch(55.9% 0.218 340.5)

  • #C34400

    #C34400

    oklch(55.8% 0.174 40.5)

Open the analogous palette in the generator

Split complementary

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

  • #D40D55

    #D40D55

    oklch(55.9% 0.219 10.5)

  • #008A5B

    #008A5B

    oklch(55.9% 0.125 160.6)

  • #00819E

    #00819E

    oklch(55.9% 0.102 220.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D40D55

    #D40D55

    oklch(55.9% 0.219 10.5)

  • #548500

    #548500

    oklch(56% 0.152 130.7)

  • #0076CD

    #0076CD

    oklch(55.8% 0.16 250.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D40D55

    #D40D55

    oklch(55.9% 0.219 10.5)

  • #847500

    #847500

    oklch(55.9% 0.116 100.4)

  • #008681

    #008681

    oklch(56% 0.097 190.2)

  • #6457EE

    #6457EE

    oklch(55.9% 0.218 280.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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