#D173B2

Closest named color: Pale Magenta (#D767AD). oklch(68% 0.14 340.9), rgb(209, 115, 178).

Aa

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

About this color

#D173B2 is a medium-light, vivid pink. In OKLCH its lightness is 68%, its chroma 0.140 and its hue 341°. 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.80:1.

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

Values

HEX#D173B2
RGBrgb(209, 115, 178)
HSLhsl(320, 51%, 64%)
OKLCHoklch(68% 0.14 340.9)

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 #D173B2 3.08:1 AA large text Lc -62.8 Content text, not long reading
Black text on #D173B2 6.80:1 AA Lc 46.6 Large or bold text, headings
#D173B2 text on white 3.08:1 AA large text Lc 57.5 Large or bold text, headings
#D173B2 text on black 6.80:1 AA Lc -44.3 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

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #F1CDE3

    oklch(88.5% 0.049 340.9)

  4. Step 300

    300

    #E8ABD2

    oklch(81% 0.087 340.6)

  5. Step 400

    400 (this color)

    #D173B2

    oklch(68% 0.14 340.9)

  6. Step 500

    500

    #CD55A9

    oklch(63% 0.179 340.9)

  7. Step 600

    600

    #B83594

    oklch(55.5% 0.194 341)

  8. Step 700

    700

    #9F257F

    oklch(49.2% 0.182 340.9)

  9. Step 800

    800

    #812267

    oklch(42.8% 0.15 341)

  10. Step 900

    900

    #682254

    oklch(37.7% 0.117 340.7)

  11. Step 950

    950

    #3D1531

    oklch(26.9% 0.074 340.7)

Export this scale for Tailwind in the Tailwind colors tool

#D173B2 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)#7889B40.145
Deuteranopia (no green cones)#9098AF0.133
Tritanopia (no blue cones)#DB748B0.062
Achromatopsia (no color)#9393930.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #D173B2

    #D173B2

    oklch(68% 0.14 340.9)

  • #29B27B

    #29B27B

    oklch(67.9% 0.14 160.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D173B2

    #D173B2

    oklch(68% 0.14 340.9)

  • #B47DD8

    #B47DD8

    oklch(68% 0.142 310.9)

  • #E07083

    #E07083

    oklch(68% 0.14 10.9)

Open the analogous palette in the generator

Split complementary

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

  • #D173B2

    #D173B2

    oklch(68% 0.14 340.9)

  • #79A946

    #79A946

    oklch(67.9% 0.14 131)

  • #00AFA9

    #00AFA9

    oklch(68.1% 0.117 190.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D173B2

    #D173B2

    oklch(68% 0.14 340.9)

  • #AC9A09

    #AC9A09

    oklch(68.1% 0.14 100.9)

  • #00A9CE

    #00A9CE

    oklch(68% 0.125 220.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D173B2

    #D173B2

    oklch(68% 0.14 340.9)

  • #CE8719

    #CE8719

    oklch(68% 0.14 70.7)

  • #29B27B

    #29B27B

    oklch(67.9% 0.14 160.9)

  • #4F9CEB

    #4F9CEB

    oklch(67.9% 0.14 251.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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