#D40F46

Closest named color: Lipstick (#D5174E). oklch(55.6% 0.217 15.8), rgb(212, 15, 70).

Aa

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

About this color

#D40F46 is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.217 and its hue 16°. 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.30:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.217)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text3.95:1
White text5.30:1

Values

HEX#D40F46
RGBrgb(212, 15, 70)
HSLhsl(343, 87%, 45%)
OKLCHoklch(55.6% 0.217 15.8)

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 #D40F46 5.30:1 AA Lc -79.5 Fine for body text
Black text on #D40F46 3.95:1 AA large text Lc 30.0 Non-text elements, placeholder text
#D40F46 text on white 5.30:1 AA Lc 74.0 Content text, not long reading
#D40F46 text on black 3.95:1 AA large text Lc -27.7 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

    #F2737F

    oklch(70.8% 0.156 16.1)

  6. Step 500

    500

    #E9445F

    oklch(63.1% 0.2 15.9)

  7. Step 600

    600 (this color)

    #D40F46

    oklch(55.6% 0.217 15.8)

  8. Step 700

    700

    #B50039

    oklch(49.1% 0.196 15.7)

  9. Step 800

    800

    #95062E

    oklch(42.8% 0.168 16)

  10. Step 900

    900

    #771629

    oklch(37.6% 0.13 15.8)

  11. Step 950

    950

    #461018

    oklch(26.9% 0.082 16.2)

Export this scale for Tailwind in the Tailwind colors tool

#D40F46 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)#5652460.243
Deuteranopia (no green cones)#8479400.222
Tritanopia (no blue cones)#E9002C0.050
Achromatopsia (no color)#6B6B6B0.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #D40F46

    #D40F46

    oklch(55.6% 0.217 15.8)

  • #008485

    #008485

    oklch(55.6% 0.095 195.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D40F46

    #D40F46

    oklch(55.6% 0.217 15.8)

  • #C4208E

    #C4208E

    oklch(55.7% 0.218 345.9)

  • #BA4E00

    #BA4E00

    oklch(55.7% 0.157 46)

Open the analogous palette in the generator

Split complementary

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

  • #D40F46

    #D40F46

    oklch(55.6% 0.217 15.8)

  • #008863

    #008863

    oklch(55.6% 0.116 165.8)

  • #007FA3

    #007FA3

    oklch(55.6% 0.107 226.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D40F46

    #D40F46

    oklch(55.6% 0.217 15.8)

  • #418700

    #418700

    oklch(55.5% 0.165 135.8)

  • #0070DE

    #0070DE

    oklch(55.7% 0.188 255.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D40F46

    #D40F46

    oklch(55.6% 0.217 15.8)

  • #7D7700

    #7D7700

    oklch(55.7% 0.119 106.2)

  • #008485

    #008485

    oklch(55.6% 0.095 195.7)

  • #6F52E9

    #6F52E9

    oklch(55.6% 0.217 285.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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