#D951B5#D951B5
#D951B5 is a light, highly saturated pink. Relative luminance 0.240; OKLCH L 64.8% C 0.202 H 339.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #D951B5 |
|---|---|
| RGB | rgb(217, 81, 181) |
| HSL | hsl(316, 64%, 58%) |
| HSV | hsv(316, 63%, 85%) |
| CMYK | cmyk(0%, 62.7%, 16.6%, 14.9%) |
| CIE-LAB | lab(56.06, 63.76, -26.08) |
| CIE-LCH | lch(56.06, 68.88, 337.76°) |
| OKLab | oklab(64.77% 0.1889 -0.0703) |
| OKLCH | oklch(64.77% 0.202 339.6) |
| XYZ | xyz(39.8990, 23.9763, 46.2336) |
| Luminance | 0.2397 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.64
Purpleish Pink
#DF4EC8
ΔE00 3.29
Pinky Purple
#C94CBE
ΔE00 4.66
Pale Magenta
#D767AD
ΔE00 5.08
Hot Magenta
#F504C9
ΔE00 5.94
Bright Pink
#FE01B1
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D951B5 #51D975
analogous
#B951D9 #D951B5 #D95171
triadic
#D951B5 #B5D951 #51B5D9
tetradic
#D951B5 #D9B951 #51D975 #5171D9
square
#D951B5 #D9B951 #51D975 #5171D9
split-complementary
#D951B5 #71D951 #51D9B9
monochromatic
#901F72 #C22A9A #D951B5 #E483CA #EFB5E0
Accessibility & contrast
On white
3.62
#D951B5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#D951B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D951B5
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D951B5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D951B5 | 1.00 | 3.62 | 5.79 | 5.79 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5879B8
Deuteranopia (green-blind)
#818EB2
Tritanopia (blue-blind)
#E5557C
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #d951b5; /* rgb */ color: rgb(217, 81, 181); /* oklch */ color: oklch(64.8% 0.202 339.6);
Tailwind
colors: {
custom: {
50: '#e88acb',
500: '#d951b5',
950: '#000000',
},
}SCSS
$custom: #d951b5; $custom-light: #e88acb; $custom-dark: #000000;
JSON
{
"hex": "#d951b5",
"rgb": {
"r": 217,
"g": 81,
"b": 181
},
"hsl": {
"h": 315.882,
"s": 64.151,
"l": 58.431
},
"oklch": {
"l": 0.64765,
"c": 0.20154,
"h": 339.6
},
"luminance": 0.23973
}Semantic roles & 50–950 ramp
primary
#D951B5
secondary
#A8DEB6
accent
#E76D41
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160C13
muted
#847D82