#D170BB

Closest named color: Pale Magenta (#D767AD). oklch(67.9% 0.152 336.3), rgb(209, 112, 187).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-light (68%)
Chromavivid (0.152)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.74:1
White text3.11:1

Values

HEX#D170BB
RGBrgb(209, 112, 187)
HSLhsl(314, 51%, 63%)
OKLCHoklch(67.9% 0.152 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 #D170BB 3.11:1 AA large text Lc -63.2 Content text, not long reading
Black text on #D170BB 6.74:1 AA Lc 46.3 Large or bold text, headings
#D170BB text on white 3.11:1 AA large text Lc 57.8 Large or bold text, headings
#D170BB text on black 6.74:1 AA Lc -44.0 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

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F1CCE6

    oklch(88.4% 0.054 336.9)

  4. Step 300

    300

    #E8A9D8

    oklch(80.8% 0.095 335.9)

  5. Step 400

    400 (this color)

    #D170BB

    oklch(67.9% 0.152 336.3)

  6. Step 500

    500

    #CE50B5

    oklch(63.1% 0.195 336.2)

  7. Step 600

    600

    #B92DA0

    oklch(55.6% 0.211 336.5)

  8. Step 700

    700

    #9F1D89

    oklch(49.1% 0.196 336.4)

  9. Step 800

    800

    #811C6F

    oklch(42.7% 0.162 336.5)

  10. Step 900

    900

    #681F5A

    oklch(37.7% 0.127 336.3)

  11. Step 950

    950

    #3D1435

    oklch(27% 0.08 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#D170BB 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)#7189BE0.155
Deuteranopia (no green cones)#8C97B80.139
Tritanopia (no blue cones)#DA748D0.074
Achromatopsia (no color)#9292920.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #D170BB

    #D170BB

    oklch(67.9% 0.152 336.3)

  • #28B370

    #28B370

    oklch(67.9% 0.152 156.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D170BB

    #D170BB

    oklch(67.9% 0.152 336.3)

  • #B07CE1

    #B07CE1

    oklch(67.9% 0.153 306.5)

  • #E46B89

    #E46B89

    oklch(68% 0.153 6.4)

Open the analogous palette in the generator

Split complementary

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

  • #D170BB

    #D170BB

    oklch(67.9% 0.152 336.3)

  • #80A830

    #80A830

    oklch(67.9% 0.152 126.3)

  • #00AFA3

    #00AFA3

    oklch(67.9% 0.119 186.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D170BB

    #D170BB

    oklch(67.9% 0.152 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.

  • #D170BB

    #D170BB

    oklch(67.9% 0.152 336.3)

  • #D58200

    #D58200

    oklch(67.9% 0.151 66.4)

  • #28B370

    #28B370

    oklch(67.9% 0.152 156.5)

  • #359FEF

    #359FEF

    oklch(68% 0.151 245.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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