#D166B1#D166B1
#D166B1 is a light, vivid pink. Relative luminance 0.262; OKLCH L 66.1% C 0.161 H 340.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #D166B1 |
|---|---|
| RGB | rgb(209, 102, 177) |
| HSL | hsl(318, 54%, 61%) |
| HSV | hsv(318, 51%, 82%) |
| CMYK | cmyk(0%, 51.2%, 15.3%, 18%) |
| CIE-LAB | lab(58.26, 51.40, -20.50) |
| CIE-LCH | lch(58.26, 55.34, 338.26°) |
| OKLab | oklab(66.1% 0.1515 -0.0549) |
| OKLCH | oklch(66.1% 0.161 340.1) |
| XYZ | xyz(38.9822, 26.2353, 44.5972) |
| Luminance | 0.2623 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 1.89
Purplish Pink
#CE5DAE
ΔE00 2.20
Orchid (survey)
#C875C4
ΔE00 5.20
Purpleish Pink
#DF4EC8
ΔE00 6.13
Orchid
#DA70D6
ΔE00 6.79
Pinky Purple
#C94CBE
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166B1 #66D186
analogous
#BB66D1 #D166B1 #D1667B
triadic
#D166B1 #B1D166 #66B1D1
tetradic
#D166B1 #D1BB66 #66D186 #667BD1
square
#D166B1 #D1BB66 #66D186 #667BD1
split-complementary
#D166B1 #7BD166 #66D1BB
monochromatic
#912C73 #C03A98 #D166B1 #DF95C9 #EDC4E1
Accessibility & contrast
On white
3.36
#D166B1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#D166B1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166B1
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166B1 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B81B4
Deuteranopia (green-blind)
#8992AE
Tritanopia (blue-blind)
#DB6883
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #d166b1; /* rgb */ color: rgb(209, 102, 177); /* oklch */ color: oklch(66.1% 0.161 340.1);
Tailwind
colors: {
custom: {
50: '#e195c8',
500: '#d166b1',
950: '#000000',
},
}SCSS
$custom: #d166b1; $custom-light: #e195c8; $custom-dark: #000000;
JSON
{
"hex": "#d166b1",
"rgb": {
"r": 209,
"g": 102,
"b": 177
},
"hsl": {
"h": 317.944,
"s": 53.769,
"l": 60.98
},
"oklch": {
"l": 0.66102,
"c": 0.16111,
"h": 340.1
},
"luminance": 0.26232
}Semantic roles & 50–950 ramp
primary
#D166B1
secondary
#B5DEC1
accent
#C15324
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E13
muted
#847E82