#D171BB

Closest named color: Pale Magenta (#D767AD). oklch(68.1% 0.15 336.3), rgb(209, 113, 187).

Aa

Black text reads best on this color (6.79:1).

About this color

#D171BB is a medium-light, vivid pink. In OKLCH its lightness is 68%, its chroma 0.150 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.027 away. Black text reads best on it, at 6.79:1.

Hue familyPinks
Lightnessmedium-light (68%)
Chromavivid (0.150)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.79:1
White text3.09:1

Values

HEX#D171BB
RGBrgb(209, 113, 187)
HSLhsl(314, 51%, 63%)
OKLCHoklch(68.1% 0.15 336.3)

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 #D171BB 3.09:1 AA large text Lc -62.9 Content text, not long reading
Black text on #D171BB 6.79:1 AA Lc 46.5 Large or bold text, headings
#D171BB text on white 3.09:1 AA large text Lc 57.5 Large or bold text, headings
#D171BB text on black 6.79:1 AA Lc -44.2 Non-text elements, placeholder text

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 400.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F1

    oklch(93.5% 0.028 334.9)

  3. Step 200

    200

    #F0CDE6

    oklch(88.5% 0.051 336.3)

  4. Step 300

    300

    #E8AAD7

    oklch(81% 0.093 336.7)

  5. Step 400

    400 (this color)

    #D171BB

    oklch(68.1% 0.15 336.3)

  6. Step 500

    500

    #CD51B4

    oklch(63% 0.193 336.3)

  7. Step 600

    600

    #B82EA0

    oklch(55.5% 0.209 336.2)

  8. Step 700

    700

    #9E1F89

    oklch(49.1% 0.194 336.1)

  9. Step 800

    800

    #811D6F

    oklch(42.7% 0.161 336.5)

  10. Step 900

    900

    #68205A

    oklch(37.8% 0.125 336.4)

  11. Step 950

    950

    #3D1435

    oklch(27% 0.08 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#D171BB 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)#728ABE0.154
Deuteranopia (no green cones)#8C98B80.139
Tritanopia (no blue cones)#DA758D0.074
Achromatopsia (no color)#9292920.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #D171BB

    #D171BB

    oklch(68.1% 0.15 336.3)

  • #2CB371

    #2CB371

    oklch(68% 0.15 156.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D171BB

    #D171BB

    oklch(68.1% 0.15 336.3)

  • #B07DE1

    #B07DE1

    oklch(68% 0.151 306.3)

  • #E36C8A

    #E36C8A

    oklch(68% 0.15 6.1)

Open the analogous palette in the generator

Split complementary

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

  • #D171BB

    #D171BB

    oklch(68.1% 0.15 336.3)

  • #81A833

    #81A833

    oklch(68% 0.149 126.1)

  • #00B0A4

    #00B0A4

    oklch(68.1% 0.119 186.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D171BB

    #D171BB

    oklch(68.1% 0.15 336.3)

  • #B29700

    #B29700

    oklch(68% 0.14 96.3)

  • #00AAC8

    #00AAC8

    oklch(68% 0.121 216.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D171BB

    #D171BB

    oklch(68.1% 0.15 336.3)

  • #D58203

    #D58203

    oklch(67.9% 0.15 66.2)

  • #2CB371

    #2CB371

    oklch(68% 0.15 156.5)

  • #389FEF

    #389FEF

    oklch(68.1% 0.15 246.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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