#D81172

Closest named color: Dark Hot Pink (#D90166). oklch(57.5% 0.227 0.6), rgb(216, 17, 114).

Aa

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

About this color

#D81172 is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.227 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.017 away. White text reads best on it, at 4.94:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.227)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text4.24:1
White text4.94:1

Values

HEX#D81172
RGBrgb(216, 17, 114)
HSLhsl(331, 85%, 46%)
OKLCHoklch(57.5% 0.227 0.6)

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 #D81172 4.94:1 AA Lc -77.5 Fine for body text
Black text on #D81172 4.24:1 AA large text Lc 32.1 Non-text elements, placeholder text
#D81172 text on white 4.94:1 AA Lc 72.0 Content text, not long reading
#D81172 text on black 4.24:1 AA large text Lc -29.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

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FCE2E9

    oklch(93.6% 0.03 359.5)

  3. Step 200

    200

    #FACAD7

    oklch(88.4% 0.057 0.3)

  4. Step 300

    300

    #F8A5BD

    oklch(81% 0.102 0.8)

  5. Step 400

    400

    #EF6F9B

    oklch(70.6% 0.163 0.5)

  6. Step 500

    500

    #E63F83

    oklch(63.1% 0.209 0.6)

  7. Step 600

    600 (this color)

    #D81172

    oklch(57.5% 0.227 0.6)

  8. Step 700

    700

    #B0005B

    oklch(49% 0.199 0.4)

  9. Step 800

    800

    #92004A

    oklch(42.7% 0.173 0.6)

  10. Step 900

    900

    #76133E

    oklch(37.8% 0.136 0.6)

  11. Step 950

    950

    #450E24

    oklch(26.9% 0.086 0.5)

Export this scale for Tailwind in the Tailwind colors tool

#D81172 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)#4E59740.258
Deuteranopia (no green cones)#817D6E0.230
Tritanopia (no blue cones)#EB00440.075
Achromatopsia (no color)#7070700.229

Harmonies

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

Complementary

The opposite hue (180°).

  • #D81172

    #D81172

    oklch(57.5% 0.227 0.6)

  • #008C7C

    #008C7C

    oklch(57.4% 0.103 181.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D81172

    #D81172

    oklch(57.5% 0.227 0.6)

  • #BD2FB5

    #BD2FB5

    oklch(57.5% 0.226 330.6)

  • #DF1A01

    #DF1A01

    oklch(57.5% 0.226 30.6)

Open the analogous palette in the generator

Split complementary

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

  • #D81172

    #D81172

    oklch(57.5% 0.227 0.6)

  • #009144

    #009144

    oklch(57.4% 0.156 150.7)

  • #00889A

    #00889A

    oklch(57.5% 0.1 211)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D81172

    #D81172

    oklch(57.5% 0.227 0.6)

  • #6E8400

    #6E8400

    oklch(57.5% 0.137 120.7)

  • #0081BF

    #0081BF

    oklch(57.6% 0.133 240.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D81172

    #D81172

    oklch(57.5% 0.227 0.6)

  • #937500

    #937500

    oklch(57.5% 0.118 90.8)

  • #008C7C

    #008C7C

    oklch(57.4% 0.103 181.1)

  • #4B63FC

    #4B63FC

    oklch(57.5% 0.227 270.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D81172.

Similar named colors

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

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