#D40547

Closest named color: Lipstick (#D5174E). oklch(55.4% 0.22 15.1), rgb(212, 5, 71).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.220)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text3.91:1
White text5.36:1

Values

HEX#D40547
RGBrgb(212, 5, 71)
HSLhsl(341, 95%, 43%)
OKLCHoklch(55.4% 0.22 15.1)

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 #D40547 5.36:1 AA Lc -79.5 Fine for body text
Black text on #D40547 3.91:1 AA large text Lc 29.9 Dividers and decoration only
#D40547 text on white 5.36:1 AA Lc 74.1 Content text, not long reading
#D40547 text on black 3.91: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

    #FDE3E4

    oklch(93.7% 0.029 15)

  3. Step 200

    200

    #FBCBCD

    oklch(88.4% 0.055 15.4)

  4. Step 300

    300

    #FAA6AC

    oklch(80.9% 0.1 14.8)

  5. Step 400

    400

    #F27280

    oklch(70.7% 0.158 15.2)

  6. Step 500

    500

    #E94361

    oklch(63.1% 0.201 15)

  7. Step 600

    600 (this color)

    #D40547

    oklch(55.4% 0.22 15.1)

  8. Step 700

    700

    #B5003B

    oklch(49.1% 0.196 15)

  9. Step 800

    800

    #95022F

    oklch(42.7% 0.169 15.2)

  10. Step 900

    900

    #78152A

    oklch(37.8% 0.132 15.1)

  11. Step 950

    950

    #470F19

    oklch(27% 0.084 14.7)

Export this scale for Tailwind in the Tailwind colors tool

#D40547 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)#5451470.248
Deuteranopia (no green cones)#8378410.225
Tritanopia (no blue cones)#E9002A0.054
Achromatopsia (no color)#6B6B6B0.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #D40547

    #D40547

    oklch(55.4% 0.22 15.1)

  • #008484

    #008484

    oklch(55.5% 0.095 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D40547

    #D40547

    oklch(55.4% 0.22 15.1)

  • #C31D8F

    #C31D8F

    oklch(55.4% 0.22 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°).

  • #D40547

    #D40547

    oklch(55.4% 0.22 15.1)

  • #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.

  • #D40547

    #D40547

    oklch(55.4% 0.22 15.1)

  • #448600

    #448600

    oklch(55.4% 0.162 135)

  • #0070DA

    #0070DA

    oklch(55.4% 0.183 255.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D40547

    #D40547

    oklch(55.4% 0.22 15.1)

  • #7D7600

    #7D7600

    oklch(55.4% 0.118 105.5)

  • #008484

    #008484

    oklch(55.5% 0.095 194.8)

  • #6D51EB

    #6D51EB

    oklch(55.5% 0.22 285)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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