#D172A4

Closest named color: Pale Violet Red (#DB7093). oklch(67.4% 0.133 348.4), rgb(209, 114, 164).

Aa

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

About this color

#D172A4 is a medium-light, moderately saturated red. In OKLCH its lightness is 67%, its chroma 0.133 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Violet Red (#DB7093), ΔE 0.030 away. Black text reads best on it, at 6.65:1.

Hue familyReds
Lightnessmedium-light (67%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest namePale Violet Red (#DB7093)
Black text6.65:1
White text3.15:1

Values

HEX#D172A4
RGBrgb(209, 114, 164)
HSLhsl(328, 51%, 63%)
OKLCHoklch(67.4% 0.133 348.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 #D172A4 3.15:1 AA large text Lc -63.7 Content text, not long reading
Black text on #D172A4 6.65:1 AA Lc 45.7 Large or bold text, headings
#D172A4 text on white 3.15:1 AA large text Lc 58.3 Large or bold text, headings
#D172A4 text on black 6.65:1 AA Lc -43.4 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

    #F7E4EC

    oklch(93.6% 0.023 350.1)

  3. Step 200

    200

    #F2CDDE

    oklch(88.5% 0.047 348.7)

  4. Step 300

    300

    #EAABCA

    oklch(80.9% 0.084 348.1)

  5. Step 400

    400 (this color)

    #D172A4

    oklch(67.4% 0.133 348.4)

  6. Step 500

    500

    #D0579B

    oklch(63.1% 0.17 348.2)

  7. Step 600

    600

    #BB3785

    oklch(55.6% 0.184 348.4)

  8. Step 700

    700

    #A12871

    oklch(49.1% 0.172 348.3)

  9. Step 800

    800

    #83245C

    oklch(42.8% 0.142 348.5)

  10. Step 900

    900

    #69234B

    oklch(37.6% 0.11 348.4)

  11. Step 950

    950

    #3E162C

    oklch(27% 0.069 348.6)

Export this scale for Tailwind in the Tailwind colors tool

#D172A4 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)#7B87A60.142
Deuteranopia (no green cones)#9497A20.129
Tritanopia (no blue cones)#DD70840.050
Achromatopsia (no color)#9191910.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #D172A4

    #D172A4

    oklch(67.4% 0.133 348.4)

  • #13B087

    #13B087

    oklch(67.4% 0.133 168.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D172A4

    #D172A4

    oklch(67.4% 0.133 348.4)

  • #B87ACA

    #B87ACA

    oklch(67.2% 0.132 318.4)

  • #DC7276

    #DC7276

    oklch(67.5% 0.132 18.9)

Open the analogous palette in the generator

Split complementary

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

  • #D172A4

    #D172A4

    oklch(67.4% 0.133 348.4)

  • #6BA956

    #6BA956

    oklch(67.3% 0.132 138.3)

  • #00ABB0

    #00ABB0

    oklch(67.3% 0.114 198.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D172A4

    #D172A4

    oklch(67.4% 0.133 348.4)

  • #9E9C27

    #9E9C27

    oklch(67.4% 0.133 108.5)

  • #00A5D6

    #00A5D6

    oklch(67.4% 0.132 228.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D172A4

    #D172A4

    oklch(67.4% 0.133 348.4)

  • #C28B1C

    #C28B1C

    oklch(67.4% 0.133 78.7)

  • #13B087

    #13B087

    oklch(67.4% 0.133 168.2)

  • #6297E7

    #6297E7

    oklch(67.5% 0.132 258.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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