#D166B9#D166B9
#D166B9 is a light, vivid pink. Relative luminance 0.266; OKLCH L 66.4% C 0.167 H 336.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #D166B9 |
|---|---|
| RGB | rgb(209, 102, 185) |
| HSL | hsl(313, 54%, 61%) |
| HSV | hsv(313, 51%, 82%) |
| CMYK | cmyk(0%, 51.2%, 11.5%, 18%) |
| CIE-LAB | lab(58.57, 52.66, -24.62) |
| CIE-LCH | lch(58.57, 58.13, 334.95°) |
| OKLab | oklab(66.43% 0.1533 -0.0664) |
| OKLCH | oklch(66.43% 0.167 336.6) |
| XYZ | xyz(39.8031, 26.5636, 48.9204) |
| Luminance | 0.2656 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.63
Pale Magenta
#D767AD
ΔE00 3.41
Orchid (survey)
#C875C4
ΔE00 4.11
Purpleish Pink
#DF4EC8
ΔE00 4.99
Orchid
#DA70D6
ΔE00 5.31
Pinky Purple
#C94CBE
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166B9 #66D17E
analogous
#B366D1 #D166B9 #D16683
triadic
#D166B9 #B9D166 #66B9D1
tetradic
#D166B9 #D1B366 #66D17E #6683D1
square
#D166B9 #D1B366 #66D17E #6683D1
split-complementary
#D166B9 #83D166 #66D1B3
monochromatic
#912C7A #C03AA2 #D166B9 #DF95CF #EDC4E4
Accessibility & contrast
On white
3.33
#D166B9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#D166B9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166B9
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166B9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166B9 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6883BC
Deuteranopia (green-blind)
#8693B6
Tritanopia (blue-blind)
#DA6A87
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #d166b9; /* rgb */ color: rgb(209, 102, 185); /* oklch */ color: oklch(66.4% 0.167 336.6);
Tailwind
colors: {
custom: {
50: '#e196ce',
500: '#d166b9',
950: '#000000',
},
}SCSS
$custom: #d166b9; $custom-light: #e196ce; $custom-dark: #000000;
JSON
{
"hex": "#d166b9",
"rgb": {
"r": 209,
"g": 102,
"b": 185
},
"hsl": {
"h": 313.458,
"s": 53.769,
"l": 60.98
},
"oklch": {
"l": 0.66432,
"c": 0.1671,
"h": 336.6
},
"luminance": 0.26561
}Semantic roles & 50–950 ramp
primary
#D166B9
secondary
#B5DEBE
accent
#C14724
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E13
muted
#847E82