#D172BE#D172BE
#D172BE is a light, vivid pink. Relative luminance 0.293; OKLCH L 68.3% C 0.151 H 335.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D172BE |
|---|---|
| RGB | rgb(209, 114, 190) |
| HSL | hsl(312, 51%, 63%) |
| HSV | hsv(312, 45%, 82%) |
| CMYK | cmyk(0%, 45.5%, 9.1%, 18%) |
| CIE-LAB | lab(61.05, 47.51, -23.65) |
| CIE-LCH | lch(61.05, 53.07, 333.54°) |
| OKLab | oklab(68.35% 0.1371 -0.0638) |
| OKLCH | oklch(68.35% 0.151 335) |
| XYZ | xyz(41.6060, 29.3102, 52.1712) |
| Luminance | 0.2931 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.52
Pale Magenta
#D767AD
ΔE00 4.19
Orchid
#DA70D6
ΔE00 4.47
Purplish Pink
#CE5DAE
ΔE00 5.11
Lavender Pink
#DD85D7
ΔE00 5.68
Purpleish Pink
#DF4EC8
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D172BE #72D185
analogous
#B472D1 #D172BE #D1728E
triadic
#D172BE #BED172 #72BED1
tetradic
#D172BE #D1B472 #72D185 #728ED1
square
#D172BE #D1B472 #72D185 #728ED1
split-complementary
#D172BE #8ED172 #72D1B4
monochromatic
#973183 #C244A9 #D172BE #E0A0D3 #EFCEE9
Accessibility & contrast
On white
3.06
#D172BE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#D172BE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D172BE
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D172BE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D172BE | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#728BC1
Deuteranopia (green-blind)
#8C98BB
Tritanopia (blue-blind)
#D9768F
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d172be; /* rgb */ color: rgb(209, 114, 190); /* oklch */ color: oklch(68.3% 0.151 335.0);
Tailwind
colors: {
custom: {
50: '#e19dd1',
500: '#d172be',
950: '#000000',
},
}SCSS
$custom: #d172be; $custom-light: #e19dd1; $custom-dark: #000000;
JSON
{
"hex": "#d172be",
"rgb": {
"r": 209,
"g": 114,
"b": 190
},
"hsl": {
"h": 312,
"s": 50.802,
"l": 63.333
},
"oklch": {
"l": 0.68349,
"c": 0.15122,
"h": 335
},
"luminance": 0.29308
}Semantic roles & 50–950 ramp
primary
#D172BE
secondary
#BEE0C5
accent
#BE4627
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#150E14
muted
#847E82