#D172AE

Closest named color: Pale Magenta (#D767AD). oklch(67.7% 0.139 342.9), rgb(209, 114, 174).

Aa

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

About this color

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

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

Values

HEX#D172AE
RGBrgb(209, 114, 174)
HSLhsl(322, 51%, 63%)
OKLCHoklch(67.7% 0.139 342.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 #D172AE 3.12:1 AA large text Lc -63.3 Content text, not long reading
Black text on #D172AE 6.72:1 AA Lc 46.2 Large or bold text, headings
#D172AE text on white 3.12:1 AA large text Lc 57.9 Large or bold text, headings
#D172AE 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

    #F1CDE2

    oklch(88.5% 0.049 342.3)

  4. Step 300

    300

    #E9ABD0

    oklch(81% 0.087 342.7)

  5. Step 400

    400 (this color)

    #D172AE

    oklch(67.7% 0.139 342.9)

  6. Step 500

    500

    #CF55A5

    oklch(63.1% 0.178 343.2)

  7. Step 600

    600

    #BA3491

    oklch(55.6% 0.194 342.8)

  8. Step 700

    700

    #A0257B

    oklch(49.2% 0.18 343)

  9. Step 800

    800

    #822264

    oklch(42.8% 0.148 343.1)

  10. Step 900

    900

    #692252

    oklch(37.8% 0.117 342.7)

  11. Step 950

    950

    #3E1530

    oklch(27.1% 0.074 342.9)

Export this scale for Tailwind in the Tailwind colors tool

#D172AE 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)#7888B00.146
Deuteranopia (no green cones)#9198AB0.134
Tritanopia (no blue cones)#DB72880.059
Achromatopsia (no color)#9292920.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #D172AE

    #D172AE

    oklch(67.7% 0.139 342.9)

  • #21B17E

    #21B17E

    oklch(67.6% 0.139 163)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D172AE

    #D172AE

    oklch(67.7% 0.139 342.9)

  • #B57CD4

    #B57CD4

    oklch(67.7% 0.139 312.9)

  • #DF707F

    #DF707F

    oklch(67.8% 0.139 13)

Open the analogous palette in the generator

Split complementary

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

  • #D172AE

    #D172AE

    oklch(67.7% 0.139 342.9)

  • #75A949

    #75A949

    oklch(67.7% 0.139 132.7)

  • #00ADAB

    #00ADAB

    oklch(67.6% 0.116 193.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D172AE

    #D172AE

    oklch(67.7% 0.139 342.9)

  • #A89A10

    #A89A10

    oklch(67.7% 0.139 102.8)

  • #00A7D0

    #00A7D0

    oklch(67.6% 0.126 223.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D172AE

    #D172AE

    oklch(67.7% 0.139 342.9)

  • #CB8816

    #CB8816

    oklch(67.9% 0.139 72.9)

  • #21B17E

    #21B17E

    oklch(67.6% 0.139 163)

  • #539AEA

    #539AEA

    oklch(67.6% 0.139 253)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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