#D171AF
Closest named color: Pale Magenta (#D767AD). oklch(67.6% 0.141 342.2), rgb(209, 113, 175).
Aa
Black text reads best on this color (6.69:1).
About this color
#D171AF is a medium-light, vivid pink. In OKLCH its lightness is 68%, its chroma 0.141 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.022 away. Black text reads best on it, at 6.69:1.
| Hue family | Pinks |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.141) |
| Temperature | warm |
| Nearest name | Pale Magenta (#D767AD) |
| Black text | 6.69:1 |
| White text | 3.13:1 |
Values
| HEX | #D171AF |
| RGB | rgb(209, 113, 175) |
| HSL | hsl(321, 51%, 63%) |
| OKLCH | oklch(67.6% 0.141 342.2) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D171AF | 3.13:1 | AA large text | Lc -63.5 | Content text, not long reading |
| Black text on #D171AF | 6.69:1 | AA | Lc 46.0 | Large or bold text, headings |
| #D171AF text on white | 3.13:1 | AA large text | Lc 58.1 | Large or bold text, headings |
| #D171AF text on black | 6.69:1 | AA | Lc -43.6 | 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.
-
Step 50
50
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F7E3EF
oklch(93.5% 0.027 340.9)
-
Step 200
200
#F1CDE2
oklch(88.5% 0.049 342.3)
-
Step 300
300
#E9AAD0
oklch(80.8% 0.088 342.4)
-
Step 400
400 (this color)
#D171AF
oklch(67.6% 0.141 342.2)
-
Step 500
500
#CF54A7
oklch(63.1% 0.181 342.3)
-
Step 600
600
#BA3392
oklch(55.6% 0.196 342.3)
-
Step 700
700
#A0237D
oklch(49.1% 0.183 342)
-
Step 800
800
#822065
oklch(42.7% 0.152 342.4)
-
Step 900
900
#692153
oklch(37.7% 0.119 341.9)
-
Step 950
950
#3E1530
oklch(27.1% 0.074 342.9)
#D171AF 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #7788B1 | 0.148 |
| Deuteranopia (no green cones) | #9097AC | 0.135 |
| Tritanopia (no blue cones) | #DB7288 | 0.062 |
| Achromatopsia (no color) | #919191 | 0.143 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D171AF
#D171AF
oklch(67.6% 0.141 342.2)
- #1DB17C
#1DB17C
oklch(67.5% 0.141 162.3)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D171AF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Magenta #D767AD ΔE 0.022
- Pale Violet Red #DB7093 ΔE 0.045
- Muted Pink #D1768F ΔE 0.053
- Orchid #DA70D6 ΔE 0.061
- Dusky Pink #CC7A8B ΔE 0.064
- Dull Pink #D5869D ΔE 0.065
- Lavender Pink #DD85D7 ΔE 0.069
- Medium Pink #F36196 ΔE 0.070
Use #D171AF 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.