#D40046

Closest named color: Lipstick (#D5174E). oklch(55.3% 0.221 15.2), rgb(212, 0, 70).

Aa

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

About this color

#D40046 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.221 and its hue 15°. 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.40:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.221)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text3.88:1
White text5.40:1

Values

HEX#D40046
RGBrgb(212, 0, 70)
HSLhsl(340, 100%, 42%)
OKLCHoklch(55.3% 0.221 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 #D40046 5.40:1 AA Lc -79.6 Fine for body text
Black text on #D40046 3.88:1 AA large text Lc 29.9 Dividers and decoration only
#D40046 text on white 5.40:1 AA Lc 74.2 Content text, not long reading
#D40046 text on black 3.88:1 AA large text Lc -27.5 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

    #FCCBCD

    oklch(88.5% 0.056 15.5)

  4. Step 300

    300

    #FAA6AC

    oklch(80.9% 0.1 14.8)

  5. Step 400

    400

    #F37180

    oklch(70.7% 0.16 15)

  6. Step 500

    500

    #EA4260

    oklch(63.1% 0.203 15.3)

  7. Step 600

    600 (this color)

    #D40046

    oklch(55.3% 0.221 15.2)

  8. Step 700

    700

    #B5003A

    oklch(49.1% 0.196 15.4)

  9. Step 800

    800

    #95012F

    oklch(42.6% 0.17 15.1)

  10. Step 900

    900

    #78142A

    oklch(37.7% 0.133 14.8)

  11. Step 950

    950

    #470F19

    oklch(27% 0.084 14.7)

Export this scale for Tailwind in the Tailwind colors tool

#D40046 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)#5451460.249
Deuteranopia (no green cones)#8378400.226
Tritanopia (no blue cones)#E900290.055
Achromatopsia (no color)#6A6A6A0.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #D40046

    #D40046

    oklch(55.3% 0.221 15.2)

  • #008384

    #008384

    oklch(55.3% 0.094 195.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D40046

    #D40046

    oklch(55.3% 0.221 15.2)

  • #C31B8F

    #C31B8F

    oklch(55.3% 0.221 345.1)

  • #B94C00

    #B94C00

    oklch(55.2% 0.157 45.3)

Open the analogous palette in the generator

Split complementary

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

  • #D40046

    #D40046

    oklch(55.3% 0.221 15.2)

  • #008761

    #008761

    oklch(55.2% 0.116 165)

  • #007EA0

    #007EA0

    oklch(55.2% 0.105 225.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D40046

    #D40046

    oklch(55.3% 0.221 15.2)

  • #438600

    #438600

    oklch(55.4% 0.162 135.3)

  • #0070DA

    #0070DA

    oklch(55.4% 0.183 255.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D40046

    #D40046

    oklch(55.3% 0.221 15.2)

  • #7D7500

    #7D7500

    oklch(55.2% 0.117 104.8)

  • #008384

    #008384

    oklch(55.3% 0.094 195.7)

  • #6D50EB

    #6D50EB

    oklch(55.3% 0.221 285.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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