#D40451

Closest named color: Lipstick (#D5174E). oklch(55.6% 0.221 11.5), rgb(212, 4, 81).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.221)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text3.93:1
White text5.33:1

Values

HEX#D40451
RGBrgb(212, 4, 81)
HSLhsl(338, 96%, 42%)
OKLCHoklch(55.6% 0.221 11.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 #D40451 5.33:1 AA Lc -79.4 Fine for body text
Black text on #D40451 3.93:1 AA large text Lc 30.1 Non-text elements, placeholder text
#D40451 text on white 5.33:1 AA Lc 74.0 Content text, not long reading
#D40451 text on black 3.93: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

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FCE2E5

    oklch(93.5% 0.029 9.7)

  3. Step 200

    200

    #FBCBD0

    oklch(88.5% 0.055 11.2)

  4. Step 300

    300

    #F9A6B0

    oklch(80.9% 0.099 11.6)

  5. Step 400

    400

    #F27187

    oklch(70.7% 0.159 11.5)

  6. Step 500

    500

    #E94269

    oklch(63.2% 0.203 11.7)

  7. Step 600

    600 (this color)

    #D40451

    oklch(55.6% 0.221 11.5)

  8. Step 700

    700

    #B40043

    oklch(49.1% 0.196 11.6)

  9. Step 800

    800

    #950136

    oklch(42.8% 0.17 11.7)

  10. Step 900

    900

    #77142F

    oklch(37.6% 0.132 11.4)

  11. Step 950

    950

    #460F1C

    oklch(26.9% 0.084 10.9)

Export this scale for Tailwind in the Tailwind colors tool

#D40451 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)#5252520.250
Deuteranopia (no green cones)#82784C0.225
Tritanopia (no blue cones)#E9002F0.060
Achromatopsia (no color)#6B6B6B0.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #D40451

    #D40451

    oklch(55.6% 0.221 11.5)

  • #008581

    #008581

    oklch(55.7% 0.096 191.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D40451

    #D40451

    oklch(55.6% 0.221 11.5)

  • #C12097

    #C12097

    oklch(55.6% 0.221 341.8)

  • #C04600

    #C04600

    oklch(55.6% 0.169 41.6)

Open the analogous palette in the generator

Split complementary

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

  • #D40451

    #D40451

    oklch(55.6% 0.221 11.5)

  • #00895C

    #00895C

    oklch(55.7% 0.123 161.5)

  • #00809E

    #00809E

    oklch(55.6% 0.103 221.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D40451

    #D40451

    oklch(55.6% 0.221 11.5)

  • #518400

    #518400

    oklch(55.5% 0.153 131.4)

  • #0074CF

    #0074CF

    oklch(55.5% 0.165 251.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D40451

    #D40451

    oklch(55.6% 0.221 11.5)

  • #827500

    #827500

    oklch(55.7% 0.116 101.7)

  • #008581

    #008581

    oklch(55.7% 0.096 191.1)

  • #6654EE

    #6654EE

    oklch(55.6% 0.221 281.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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