#D51952

Closest named color: Lipstick (#D5174E). oklch(56.4% 0.215 12.4), rgb(213, 25, 82).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.215)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text4.09:1
White text5.13:1

Values

HEX#D51952
RGBrgb(213, 25, 82)
HSLhsl(342, 79%, 47%)
OKLCHoklch(56.4% 0.215 12.4)

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 #D51952 5.13:1 AA Lc -78.7 Fine for body text
Black text on #D51952 4.09:1 AA large text Lc 30.8 Non-text elements, placeholder text
#D51952 text on white 5.13:1 AA Lc 73.3 Content text, not long reading
#D51952 text on black 4.09:1 AA large text Lc -28.4 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

    #FCE3E5

    oklch(93.7% 0.028 12.1)

  3. Step 200

    200

    #FACBCF

    oklch(88.4% 0.054 12.5)

  4. Step 300

    300

    #F8A7AF

    oklch(80.9% 0.096 12.9)

  5. Step 400

    400

    #F07386

    oklch(70.7% 0.154 12.4)

  6. Step 500

    500

    #E74568

    oklch(63.1% 0.198 12.4)

  7. Step 600

    600 (this color)

    #D51952

    oklch(56.4% 0.215 12.4)

  8. Step 700

    700

    #B40041

    oklch(49.1% 0.196 12.4)

  9. Step 800

    800

    #930935

    oklch(42.6% 0.165 12.5)

  10. Step 900

    900

    #76172E

    oklch(37.6% 0.129 12.5)

  11. Step 950

    950

    #46101B

    oklch(27% 0.082 12.7)

Export this scale for Tailwind in the Tailwind colors tool

#D51952 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)#5756530.241
Deuteranopia (no green cones)#857B4D0.219
Tritanopia (no blue cones)#EA00350.053
Achromatopsia (no color)#6E6E6E0.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #D51952

    #D51952

    oklch(56.4% 0.215 12.4)

  • #008785

    #008785

    oklch(56.4% 0.097 192.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D51952

    #D51952

    oklch(56.4% 0.215 12.4)

  • #C32997

    #C32997

    oklch(56.5% 0.215 342.6)

  • #C34900

    #C34900

    oklch(56.5% 0.169 42.3)

Open the analogous palette in the generator

Split complementary

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

  • #D51952

    #D51952

    oklch(56.4% 0.215 12.4)

  • #008B60

    #008B60

    oklch(56.3% 0.122 162.8)

  • #0083A2

    #0083A2

    oklch(56.6% 0.105 222.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D51952

    #D51952

    oklch(56.4% 0.215 12.4)

  • #4F8800

    #4F8800

    oklch(56.5% 0.158 132.6)

  • #0076D6

    #0076D6

    oklch(56.5% 0.171 252.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D51952

    #D51952

    oklch(56.4% 0.215 12.4)

  • #847700

    #847700

    oklch(56.4% 0.118 101.8)

  • #008785

    #008785

    oklch(56.4% 0.097 192.9)

  • #6A58ED

    #6A58ED

    oklch(56.4% 0.215 282.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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