#D170BC

Closest named color: Pale Magenta (#D767AD). oklch(68% 0.153 335.8), rgb(209, 112, 188).

Aa

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

About this color

#D170BC is a medium-light, vivid pink. In OKLCH its lightness is 68%, its chroma 0.153 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.75:1.

Hue familyPinks
Lightnessmedium-light (68%)
Chromavivid (0.153)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.75:1
White text3.10:1

Values

HEX#D170BC
RGBrgb(209, 112, 188)
HSLhsl(313, 51%, 63%)
OKLCHoklch(68% 0.153 335.8)

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 #D170BC 3.10:1 AA large text Lc -63.1 Content text, not long reading
Black text on #D170BC 6.75:1 AA Lc 46.3 Large or bold text, headings
#D170BC text on white 3.10:1 AA large text Lc 57.7 Large or bold text, headings
#D170BC text on black 6.75: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

    #F1CCE7

    oklch(88.5% 0.054 335.7)

  4. Step 300

    300

    #E8A9D8

    oklch(80.8% 0.095 335.9)

  5. Step 400

    400 (this color)

    #D170BC

    oklch(68% 0.153 335.8)

  6. Step 500

    500

    #CE50B6

    oklch(63.1% 0.196 335.9)

  7. Step 600

    600

    #B92CA1

    oklch(55.6% 0.213 336.1)

  8. Step 700

    700

    #9F1C8A

    oklch(49.1% 0.198 336)

  9. Step 800

    800

    #811C70

    oklch(42.7% 0.163 336)

  10. Step 900

    900

    #681F5B

    oklch(37.7% 0.127 335.7)

  11. Step 950

    950

    #3D1435

    oklch(27% 0.08 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#D170BC 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)#7189BF0.155
Deuteranopia (no green cones)#8B97B90.140
Tritanopia (no blue cones)#DA748D0.076
Achromatopsia (no color)#9292920.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #D170BC

    #D170BC

    oklch(68% 0.153 335.8)

  • #29B36F

    #29B36F

    oklch(67.9% 0.152 156)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D170BC

    #D170BC

    oklch(68% 0.153 335.8)

  • #AF7DE2

    #AF7DE2

    oklch(68% 0.152 305.6)

  • #E46B8A

    #E46B8A

    oklch(68% 0.153 5.9)

Open the analogous palette in the generator

Split complementary

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

  • #D170BC

    #D170BC

    oklch(68% 0.153 335.8)

  • #81A82E

    #81A82E

    oklch(68% 0.153 125.8)

  • #00AFA3

    #00AFA3

    oklch(67.9% 0.119 186.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D170BC

    #D170BC

    oklch(68% 0.153 335.8)

  • #B29700

    #B29700

    oklch(68% 0.14 96.3)

  • #00AAC7

    #00AAC7

    oklch(68% 0.12 215.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D170BC

    #D170BC

    oklch(68% 0.153 335.8)

  • #D68200

    #D68200

    oklch(68.1% 0.152 66)

  • #29B36F

    #29B36F

    oklch(67.9% 0.152 156)

  • #329FF0

    #329FF0

    oklch(68% 0.153 245.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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