#D31352

Closest named color: Lipstick (#D5174E). oklch(55.8% 0.216 11.7), rgb(211, 19, 82).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.216)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text3.98:1
White text5.27:1

Values

HEX#D31352
RGBrgb(211, 19, 82)
HSLhsl(340, 83%, 45%)
OKLCHoklch(55.8% 0.216 11.7)

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 #D31352 5.27:1 AA Lc -79.4 Fine for body text
Black text on #D31352 3.98:1 AA large text Lc 30.1 Non-text elements, placeholder text
#D31352 text on white 5.27:1 AA Lc 74.0 Content text, not long reading
#D31352 text on black 3.98: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

    #FCE3E5

    oklch(93.7% 0.028 12.1)

  3. Step 200

    200

    #FBCBD0

    oklch(88.5% 0.055 11.2)

  4. Step 300

    300

    #F8A7B0

    oklch(80.9% 0.096 12.1)

  5. Step 400

    400

    #F07387

    oklch(70.7% 0.154 11.9)

  6. Step 500

    500

    #E7456A

    oklch(63.2% 0.198 11.6)

  7. Step 600

    600 (this color)

    #D31352

    oklch(55.8% 0.216 11.7)

  8. Step 700

    700

    #B40043

    oklch(49.1% 0.196 11.6)

  9. Step 800

    800

    #930836

    oklch(42.6% 0.166 11.9)

  10. Step 900

    900

    #76172F

    oklch(37.7% 0.129 11.8)

  11. Step 950

    950

    #46101C

    oklch(27% 0.082 11.5)

Export this scale for Tailwind in the Tailwind colors tool

#D31352 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)#5454530.243
Deuteranopia (no green cones)#83794D0.220
Tritanopia (no blue cones)#E700330.054
Achromatopsia (no color)#6C6C6C0.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #D31352

    #D31352

    oklch(55.8% 0.216 11.7)

  • #008582

    #008582

    oklch(55.7% 0.096 192)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D31352

    #D31352

    oklch(55.8% 0.216 11.7)

  • #C02697

    #C02697

    oklch(55.8% 0.216 341.7)

  • #C14700

    #C14700

    oklch(55.9% 0.169 41.8)

Open the analogous palette in the generator

Split complementary

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

  • #D31352

    #D31352

    oklch(55.8% 0.216 11.7)

  • #00895D

    #00895D

    oklch(55.7% 0.122 162)

  • #00819F

    #00819F

    oklch(55.9% 0.103 221.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D31352

    #D31352

    oklch(55.8% 0.216 11.7)

  • #508500

    #508500

    oklch(55.8% 0.154 131.8)

  • #0075D0

    #0075D0

    oklch(55.8% 0.165 251.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D31352

    #D31352

    oklch(55.8% 0.216 11.7)

  • #827500

    #827500

    oklch(55.7% 0.116 101.7)

  • #008582

    #008582

    oklch(55.7% 0.096 192)

  • #6756EC

    #6756EC

    oklch(55.8% 0.216 281.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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