#D172AD

Closest named color: Pale Magenta (#D767AD). oklch(67.7% 0.138 343.4), rgb(209, 114, 173).

Aa

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

About this color

#D172AD is a medium-light, moderately saturated pink. In OKLCH its lightness is 68%, its chroma 0.138 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.025 away. Black text reads best on it, at 6.72:1.

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

Values

HEX#D172AD
RGBrgb(209, 114, 173)
HSLhsl(323, 51%, 63%)
OKLCHoklch(67.7% 0.138 343.4)

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 #D172AD 3.12:1 AA large text Lc -63.3 Content text, not long reading
Black text on #D172AD 6.72:1 AA Lc 46.1 Large or bold text, headings
#D172AD text on white 3.12:1 AA large text Lc 57.9 Large or bold text, headings
#D172AD text on black 6.72:1 AA Lc -43.8 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

    #FBF2F7

    oklch(97% 0.012 342.6)

  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

    #E9ABCF

    oklch(81% 0.086 343.5)

  5. Step 400

    400 (this color)

    #D172AD

    oklch(67.7% 0.138 343.4)

  6. Step 500

    500

    #CF55A4

    oklch(63.1% 0.177 343.7)

  7. Step 600

    600

    #BA358F

    oklch(55.6% 0.192 343.7)

  8. Step 700

    700

    #A0267A

    oklch(49.2% 0.178 343.5)

  9. Step 800

    800

    #822263

    oklch(42.8% 0.148 343.7)

  10. Step 900

    900

    #692251

    oklch(37.7% 0.116 343.5)

  11. Step 950

    950

    #3E152F

    oklch(27% 0.073 344.2)

Export this scale for Tailwind in the Tailwind colors tool

#D172AD 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)#7888AF0.146
Deuteranopia (no green cones)#9197AA0.132
Tritanopia (no blue cones)#DC72880.058
Achromatopsia (no color)#9292920.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #D172AD

    #D172AD

    oklch(67.7% 0.138 343.4)

  • #20B17F

    #20B17F

    oklch(67.6% 0.138 163.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D172AD

    #D172AD

    oklch(67.7% 0.138 343.4)

  • #B57CD3

    #B57CD3

    oklch(67.7% 0.138 313.2)

  • #DF707E

    #DF707E

    oklch(67.7% 0.139 13.6)

Open the analogous palette in the generator

Split complementary

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

  • #D172AD

    #D172AD

    oklch(67.7% 0.138 343.4)

  • #74A94B

    #74A94B

    oklch(67.7% 0.138 133.3)

  • #00ADAB

    #00ADAB

    oklch(67.6% 0.116 193.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D172AD

    #D172AD

    oklch(67.7% 0.138 343.4)

  • #A79A13

    #A79A13

    oklch(67.7% 0.138 103.2)

  • #00A7D0

    #00A7D0

    oklch(67.6% 0.126 223.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D172AD

    #D172AD

    oklch(67.7% 0.138 343.4)

  • #CA8817

    #CA8817

    oklch(67.7% 0.138 73.3)

  • #20B17F

    #20B17F

    oklch(67.6% 0.138 163.5)

  • #559AEA

    #559AEA

    oklch(67.7% 0.138 253.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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