#D172BF#D172BF
#D172BF is a light, vivid pink. Relative luminance 0.294; OKLCH L 68.4% C 0.152 H 334.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D172BF |
|---|---|
| RGB | rgb(209, 114, 191) |
| HSL | hsl(311, 51%, 63%) |
| HSV | hsv(311, 45%, 82%) |
| CMYK | cmyk(0%, 45.5%, 8.6%, 18%) |
| CIE-LAB | lab(61.09, 47.68, -24.16) |
| CIE-LCH | lch(61.09, 53.45, 333.13°) |
| OKLab | oklab(68.39% 0.1373 -0.0653) |
| OKLCH | oklch(68.39% 0.152 334.6) |
| XYZ | xyz(41.7157, 29.3541, 52.7488) |
| Luminance | 0.2935 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.37
Orchid
#DA70D6
ΔE00 4.27
Pale Magenta
#D767AD
ΔE00 4.36
Purplish Pink
#CE5DAE
ΔE00 5.19
Lavender Pink
#DD85D7
ΔE00 5.58
Purpleish Pink
#DF4EC8
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D172BF #72D184
analogous
#B372D1 #D172BF #D1728F
triadic
#D172BF #BFD172 #72BFD1
tetradic
#D172BF #D1B372 #72D184 #728FD1
square
#D172BF #D1B372 #72D184 #728FD1
split-complementary
#D172BF #8FD172 #72D1B3
monochromatic
#973184 #C244AA #D172BF #E0A0D4 #EFCEE9
Accessibility & contrast
On white
3.06
#D172BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#D172BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D172BF
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D172BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D172BF | 1.00 | 3.06 | 6.87 | 6.87 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#728BC2
Deuteranopia (green-blind)
#8C99BC
Tritanopia (blue-blind)
#D97790
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d172bf; /* rgb */ color: rgb(209, 114, 191); /* oklch */ color: oklch(68.4% 0.152 334.6);
Tailwind
colors: {
custom: {
50: '#e19dd2',
500: '#d172bf',
950: '#000000',
},
}SCSS
$custom: #d172bf; $custom-light: #e19dd2; $custom-dark: #000000;
JSON
{
"hex": "#d172bf",
"rgb": {
"r": 209,
"g": 114,
"b": 191
},
"hsl": {
"h": 311.368,
"s": 50.802,
"l": 63.333
},
"oklch": {
"l": 0.6839,
"c": 0.15204,
"h": 334.6
},
"luminance": 0.29352
}Semantic roles & 50–950 ramp
primary
#D172BF
secondary
#BEE0C5
accent
#BE4427
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#150E14
muted
#847E82