#D166AB#D166AB
#D166AB is a light, vivid pink. Relative luminance 0.260; OKLCH L 65.9% C 0.157 H 342.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #D166AB |
|---|---|
| RGB | rgb(209, 102, 171) |
| HSL | hsl(321, 54%, 61%) |
| HSV | hsv(321, 51%, 82%) |
| CMYK | cmyk(0%, 51.2%, 18.2%, 18%) |
| CIE-LAB | lab(58.04, 50.49, -17.38) |
| CIE-LCH | lch(58.04, 53.40, 341.01°) |
| OKLab | oklab(65.86% 0.15 -0.0462) |
| OKLCH | oklch(65.86% 0.157 342.9) |
| XYZ | xyz(38.3973, 26.0013, 41.5166) |
| Luminance | 0.2600 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 1.17
Purplish Pink
#CE5DAE
ΔE00 2.72
Orchid (survey)
#C875C4
ΔE00 6.24
Purpleish Pink
#DF4EC8
ΔE00 7.17
Orchid
#DA70D6
ΔE00 7.99
Barbie Pink
#FE46A5
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166AB #66D18C
analogous
#C166D1 #D166AB #D16675
triadic
#D166AB #ABD166 #66ABD1
tetradic
#D166AB #D1C166 #66D18C #6675D1
square
#D166AB #D1C166 #66D18C #6675D1
split-complementary
#D166AB #75D166 #66D1C1
monochromatic
#912C6D #C03A90 #D166AB #DF95C5 #EDC4DF
Accessibility & contrast
On white
3.39
#D166AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#D166AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166AB
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166AB | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D81AD
Deuteranopia (green-blind)
#8A92A8
Tritanopia (blue-blind)
#DC6681
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #d166ab; /* rgb */ color: rgb(209, 102, 171); /* oklch */ color: oklch(65.9% 0.157 342.9);
Tailwind
colors: {
custom: {
50: '#e195c4',
500: '#d166ab',
950: '#000000',
},
}SCSS
$custom: #d166ab; $custom-light: #e195c4; $custom-dark: #000000;
JSON
{
"hex": "#d166ab",
"rgb": {
"r": 209,
"g": 102,
"b": 171
},
"hsl": {
"h": 321.308,
"s": 53.769,
"l": 60.98
},
"oklch": {
"l": 0.65864,
"c": 0.15692,
"h": 342.9
},
"luminance": 0.25998
}Semantic roles & 50–950 ramp
primary
#D166AB
secondary
#B5DEC4
accent
#C15C24
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160E12
muted
#847E81