#D170B4

Closest named color: Pale Magenta (#D767AD). oklch(67.7% 0.147 339.6), rgb(209, 112, 180).

Aa

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

About this color

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

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

Values

HEX#D170B4
RGBrgb(209, 112, 180)
HSLhsl(318, 51%, 63%)
OKLCHoklch(67.7% 0.147 339.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 #D170B4 3.14:1 AA large text Lc -63.5 Content text, not long reading
Black text on #D170B4 6.68:1 AA Lc 45.9 Large or bold text, headings
#D170B4 text on white 3.14:1 AA large text Lc 58.1 Large or bold text, headings
#D170B4 text on black 6.68:1 AA Lc -43.6 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F7E3F0

    oklch(93.6% 0.028 338.6)

  3. Step 200

    200

    #F1CDE4

    oklch(88.5% 0.05 339.6)

  4. Step 300

    300

    #E9AAD4

    oklch(81% 0.091 339.4)

  5. Step 400

    400 (this color)

    #D170B4

    oklch(67.7% 0.147 339.6)

  6. Step 500

    500

    #CF52AD

    oklch(63.1% 0.188 339.7)

  7. Step 600

    600

    #BA3099

    oklch(55.7% 0.204 339.4)

  8. Step 700

    700

    #A02082

    oklch(49.1% 0.19 339.7)

  9. Step 800

    800

    #821E6A

    oklch(42.7% 0.157 339.5)

  10. Step 900

    900

    #692056

    oklch(37.7% 0.123 339.7)

  11. Step 950

    950

    #3E1432

    oklch(27% 0.078 340.2)

Export this scale for Tailwind in the Tailwind colors tool

#D170B4 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)#7488B60.152
Deuteranopia (no green cones)#8E97B10.138
Tritanopia (no blue cones)#DB728A0.067
Achromatopsia (no color)#9191910.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #D170B4

    #D170B4

    oklch(67.7% 0.147 339.6)

  • #1FB276

    #1FB276

    oklch(67.7% 0.147 159.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D170B4

    #D170B4

    oklch(67.7% 0.147 339.6)

  • #B27BDB

    #B27BDB

    oklch(67.6% 0.148 309.4)

  • #E16C83

    #E16C83

    oklch(67.6% 0.147 9.5)

Open the analogous palette in the generator

Split complementary

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

  • #D170B4

    #D170B4

    oklch(67.7% 0.147 339.6)

  • #79A83C

    #79A83C

    oklch(67.6% 0.147 129.6)

  • #00AEA7

    #00AEA7

    oklch(67.7% 0.117 189.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D170B4

    #D170B4

    oklch(67.7% 0.147 339.6)

  • #AC9800

    #AC9800

    oklch(67.7% 0.141 99.9)

  • #00A8CB

    #00A8CB

    oklch(67.7% 0.123 219.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D170B4

    #D170B4

    oklch(67.7% 0.147 339.6)

  • #D08401

    #D08401

    oklch(67.7% 0.147 69.5)

  • #1FB276

    #1FB276

    oklch(67.7% 0.147 159.4)

  • #459CED

    #459CED

    oklch(67.7% 0.146 249.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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