#D40947

Closest named color: Lipstick (#D5174E). oklch(55.5% 0.219 15.2), rgb(212, 9, 71).

Aa

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

About this color

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

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

Values

HEX#D40947
RGBrgb(212, 9, 71)
HSLhsl(342, 92%, 43%)
OKLCHoklch(55.5% 0.219 15.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 #D40947 5.34:1 AA Lc -79.5 Fine for body text
Black text on #D40947 3.92:1 AA large text Lc 30.0 Dividers and decoration only
#D40947 text on white 5.34:1 AA Lc 74.1 Content text, not long reading
#D40947 text on black 3.92: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

    #FCE3E4

    oklch(93.6% 0.028 14.9)

  3. Step 200

    200

    #FBCBCD

    oklch(88.4% 0.055 15.4)

  4. Step 300

    300

    #F9A6AC

    oklch(80.8% 0.099 14.8)

  5. Step 400

    400

    #F27280

    oklch(70.7% 0.158 15.2)

  6. Step 500

    500

    #E94360

    oklch(63.1% 0.201 15.3)

  7. Step 600

    600 (this color)

    #D40947

    oklch(55.5% 0.219 15.2)

  8. Step 700

    700

    #B5003A

    oklch(49.1% 0.196 15.4)

  9. Step 800

    800

    #95042F

    oklch(42.7% 0.169 15.4)

  10. Step 900

    900

    #78152A

    oklch(37.8% 0.132 15.1)

  11. Step 950

    950

    #471019

    oklch(27.2% 0.083 15.3)

Export this scale for Tailwind in the Tailwind colors tool

#D40947 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)#5552470.246
Deuteranopia (no green cones)#8478410.222
Tritanopia (no blue cones)#E9002B0.053
Achromatopsia (no color)#6B6B6B0.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #D40947

    #D40947

    oklch(55.5% 0.219 15.2)

  • #008484

    #008484

    oklch(55.5% 0.095 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D40947

    #D40947

    oklch(55.5% 0.219 15.2)

  • #C31E8F

    #C31E8F

    oklch(55.5% 0.219 345.2)

  • #BA4C00

    #BA4C00

    oklch(55.4% 0.158 45.1)

Open the analogous palette in the generator

Split complementary

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

  • #D40947

    #D40947

    oklch(55.5% 0.219 15.2)

  • #008862

    #008862

    oklch(55.5% 0.117 165.2)

  • #007FA1

    #007FA1

    oklch(55.5% 0.105 225)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D40947

    #D40947

    oklch(55.5% 0.219 15.2)

  • #438600

    #438600

    oklch(55.4% 0.162 135.3)

  • #0070DB

    #0070DB

    oklch(55.5% 0.184 255.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D40947

    #D40947

    oklch(55.5% 0.219 15.2)

  • #7E7600

    #7E7600

    oklch(55.5% 0.118 104.9)

  • #008484

    #008484

    oklch(55.5% 0.095 194.8)

  • #6E51EA

    #6E51EA

    oklch(55.5% 0.219 285.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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