#C166AB#C166AB
#C166AB is a light, vivid pink. Relative luminance 0.238; OKLCH L 63.8% C 0.144 H 337.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C166AB |
|---|---|
| RGB | rgb(193, 102, 171) |
| HSL | hsl(315, 42%, 58%) |
| HSV | hsv(315, 47%, 76%) |
| CMYK | cmyk(0%, 47.2%, 11.4%, 24.3%) |
| CIE-LAB | lab(55.87, 45.48, -20.88) |
| CIE-LCH | lch(55.87, 50.05, 335.34°) |
| OKLab | oklab(63.8% 0.1323 -0.0562) |
| OKLCH | oklch(63.8% 0.144 337) |
| XYZ | xyz(34.0945, 23.7827, 41.3149) |
| Luminance | 0.2378 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.75
Pale Magenta
#D767AD
ΔE00 4.42
Orchid (survey)
#C875C4
ΔE00 5.52
Pinky Purple
#C94CBE
ΔE00 6.88
Soft Purple
#A66FB5
ΔE00 7.02
Purpleish Pink
#DF4EC8
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166AB #66C17C
analogous
#A966C1 #C166AB #C1667E
triadic
#C166AB #ABC166 #66ABC1
tetradic
#C166AB #C1A966 #66C17C #667EC1
square
#C166AB #C1A966 #66C17C #667EC1
split-complementary
#C166AB #7EC166 #66C1A9
monochromatic
#7B3269 #A6438E #C166AB #D392C3 #E4BDDB
Accessibility & contrast
On white
3.65
#C166AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#C166AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166AB
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166AB | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#687DAD
Deuteranopia (green-blind)
#808BA8
Tritanopia (blue-blind)
#C96981
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #c166ab; /* rgb */ color: rgb(193, 102, 171); /* oklch */ color: oklch(63.8% 0.144 337.0);
Tailwind
colors: {
custom: {
50: '#d694c4',
500: '#c166ab',
950: '#000000',
},
}SCSS
$custom: #c166ab; $custom-light: #d694c4; $custom-dark: #000000;
JSON
{
"hex": "#c166ab",
"rgb": {
"r": 193,
"g": 102,
"b": 171
},
"hsl": {
"h": 314.505,
"s": 42.326,
"l": 57.843
},
"oklch": {
"l": 0.63796,
"c": 0.14374,
"h": 337
},
"luminance": 0.2378
}Semantic roles & 50–950 ramp
primary
#C166AB
secondary
#AFD4B8
accent
#D27456
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140D12
muted
#837E81