#D172AB

Closest named color: Pale Magenta (#D767AD). oklch(67.6% 0.137 344.5), rgb(209, 114, 171).

Aa

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

About this color

#D172AB is a medium-light, moderately saturated pink. In OKLCH its lightness is 68%, its chroma 0.137 and its hue 345°. 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.70:1.

Hue familyPinks
Lightnessmedium-light (68%)
Chromamoderately saturated (0.137)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.70:1
White text3.13:1

Values

HEX#D172AB
RGBrgb(209, 114, 171)
HSLhsl(324, 51%, 63%)
OKLCHoklch(67.6% 0.137 344.5)

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 #D172AB 3.13:1 AA large text Lc -63.4 Content text, not long reading
Black text on #D172AB 6.70:1 AA Lc 46.0 Large or bold text, headings
#D172AB text on white 3.13:1 AA large text Lc 58.0 Large or bold text, headings
#D172AB text on black 6.70:1 AA Lc -43.7 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

    #FCF3F7

    oklch(97.2% 0.011 348.4)

  2. Step 100

    100

    #F7E4EE

    oklch(93.7% 0.024 344.4)

  3. Step 200

    200

    #F1CDE1

    oklch(88.5% 0.048 343.6)

  4. Step 300

    300

    #E9ABCE

    oklch(80.9% 0.085 344.3)

  5. Step 400

    400 (this color)

    #D172AB

    oklch(67.6% 0.137 344.5)

  6. Step 500

    500

    #CF56A2

    oklch(63.1% 0.174 344.6)

  7. Step 600

    600

    #BA358D

    oklch(55.5% 0.191 344.5)

  8. Step 700

    700

    #A02678

    oklch(49.1% 0.177 344.5)

  9. Step 800

    800

    #822262

    oklch(42.7% 0.147 344.3)

  10. Step 900

    900

    #692250

    oklch(37.7% 0.115 344.3)

  11. Step 950

    950

    #3E152F

    oklch(27% 0.073 344.2)

Export this scale for Tailwind in the Tailwind colors tool

#D172AB 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)#7988AD0.144
Deuteranopia (no green cones)#9297A90.131
Tritanopia (no blue cones)#DC72870.057
Achromatopsia (no color)#9292920.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #D172AB

    #D172AB

    oklch(67.6% 0.137 344.5)

  • #1DB181

    #1DB181

    oklch(67.6% 0.137 164.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D172AB

    #D172AB

    oklch(67.6% 0.137 344.5)

  • #B67BD1

    #B67BD1

    oklch(67.5% 0.138 314.6)

  • #DE707C

    #DE707C

    oklch(67.6% 0.137 14.6)

Open the analogous palette in the generator

Split complementary

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

  • #D172AB

    #D172AB

    oklch(67.6% 0.137 344.5)

  • #72A94D

    #72A94D

    oklch(67.6% 0.137 134.3)

  • #00ADAC

    #00ADAC

    oklch(67.7% 0.116 194)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D172AB

    #D172AB

    oklch(67.6% 0.137 344.5)

  • #A59B19

    #A59B19

    oklch(67.7% 0.137 104.7)

  • #00A7D1

    #00A7D1

    oklch(67.7% 0.127 224.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D172AB

    #D172AB

    oklch(67.6% 0.137 344.5)

  • #C88918

    #C88918

    oklch(67.7% 0.137 74.8)

  • #1DB181

    #1DB181

    oklch(67.6% 0.137 164.5)

  • #5899E9

    #5899E9

    oklch(67.5% 0.137 254.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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