#D166B7#D166B7
#D166B7 is a light, vivid pink. Relative luminance 0.265; OKLCH L 66.3% C 0.166 H 337.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #D166B7 |
|---|---|
| RGB | rgb(209, 102, 183) |
| HSL | hsl(315, 54%, 61%) |
| HSV | hsv(315, 51%, 82%) |
| CMYK | cmyk(0%, 51.2%, 12.4%, 18%) |
| CIE-LAB | lab(58.49, 52.34, -23.59) |
| CIE-LCH | lch(58.49, 57.41, 335.74°) |
| OKLab | oklab(66.35% 0.1529 -0.0636) |
| OKLCH | oklch(66.35% 0.166 337.4) |
| XYZ | xyz(39.5934, 26.4798, 47.8163) |
| Luminance | 0.2648 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.42
Pale Magenta
#D767AD
ΔE00 3.02
Orchid (survey)
#C875C4
ΔE00 4.34
Purpleish Pink
#DF4EC8
ΔE00 5.24
Orchid
#DA70D6
ΔE00 5.66
Pinky Purple
#C94CBE
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166B7 #66D180
analogous
#B566D1 #D166B7 #D16681
triadic
#D166B7 #B7D166 #66B7D1
tetradic
#D166B7 #D1B566 #66D180 #6681D1
square
#D166B7 #D1B566 #66D180 #6681D1
split-complementary
#D166B7 #81D166 #66D1B5
monochromatic
#912C78 #C03A9F #D166B7 #DF95CD #EDC4E3
Accessibility & contrast
On white
3.34
#D166B7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#D166B7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166B7
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166B7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166B7 | 1.00 | 3.34 | 6.30 | 6.30 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6982BA
Deuteranopia (green-blind)
#8793B4
Tritanopia (blue-blind)
#DB6A86
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #d166b7; /* rgb */ color: rgb(209, 102, 183); /* oklch */ color: oklch(66.3% 0.166 337.4);
Tailwind
colors: {
custom: {
50: '#e196cc',
500: '#d166b7',
950: '#000000',
},
}SCSS
$custom: #d166b7; $custom-light: #e196cc; $custom-dark: #000000;
JSON
{
"hex": "#d166b7",
"rgb": {
"r": 209,
"g": 102,
"b": 183
},
"hsl": {
"h": 314.579,
"s": 53.769,
"l": 60.98
},
"oklch": {
"l": 0.66348,
"c": 0.16557,
"h": 337.4
},
"luminance": 0.26477
}Semantic roles & 50–950 ramp
primary
#D166B7
secondary
#B5DEBF
accent
#C14A24
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E13
muted
#847E82