#D166B8#D166B8
#D166B8 is a light, vivid pink. Relative luminance 0.265; OKLCH L 66.4% C 0.166 H 337.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #D166B8 |
|---|---|
| RGB | rgb(209, 102, 184) |
| HSL | hsl(314, 54%, 61%) |
| HSV | hsv(314, 51%, 82%) |
| CMYK | cmyk(0%, 51.2%, 12%, 18%) |
| CIE-LAB | lab(58.53, 52.50, -24.10) |
| CIE-LCH | lch(58.53, 57.77, 335.34°) |
| OKLab | oklab(66.39% 0.1531 -0.065) |
| OKLCH | oklch(66.39% 0.166 337) |
| XYZ | xyz(39.6979, 26.5216, 48.3664) |
| Luminance | 0.2652 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.52
Pale Magenta
#D767AD
ΔE00 3.21
Orchid (survey)
#C875C4
ΔE00 4.22
Purpleish Pink
#DF4EC8
ΔE00 5.11
Orchid
#DA70D6
ΔE00 5.49
Pinky Purple
#C94CBE
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D166B8 #66D17F
analogous
#B466D1 #D166B8 #D16682
triadic
#D166B8 #B8D166 #66B8D1
tetradic
#D166B8 #D1B466 #66D17F #6682D1
square
#D166B8 #D1B466 #66D17F #6682D1
split-complementary
#D166B8 #82D166 #66D1B4
monochromatic
#912C79 #C03AA1 #D166B8 #DF95CE #EDC4E4
Accessibility & contrast
On white
3.33
#D166B8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#D166B8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D166B8
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D166B8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D166B8 | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 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)
#6882BB
Deuteranopia (green-blind)
#8693B5
Tritanopia (blue-blind)
#DA6A87
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #d166b8; /* rgb */ color: rgb(209, 102, 184); /* oklch */ color: oklch(66.4% 0.166 337.0);
Tailwind
colors: {
custom: {
50: '#e196cd',
500: '#d166b8',
950: '#000000',
},
}SCSS
$custom: #d166b8; $custom-light: #e196cd; $custom-dark: #000000;
JSON
{
"hex": "#d166b8",
"rgb": {
"r": 209,
"g": 102,
"b": 184
},
"hsl": {
"h": 314.019,
"s": 53.769,
"l": 60.98
},
"oklch": {
"l": 0.6639,
"c": 0.16633,
"h": 337
},
"luminance": 0.26519
}Semantic roles & 50–950 ramp
primary
#D166B8
secondary
#B5DEBF
accent
#C14924
background
#FEF9FC
surface
#FCF2F9
border
#D5CCD2
text
#160E13
muted
#847E82