#C166AF#C166AF
#C166AF is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.0% C 0.147 H 335.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C166AF |
|---|---|
| RGB | rgb(193, 102, 175) |
| HSL | hsl(312, 42%, 58%) |
| HSV | hsv(312, 47%, 76%) |
| CMYK | cmyk(0%, 47.2%, 9.3%, 24.3%) |
| CIE-LAB | lab(56.03, 46.15, -22.95) |
| CIE-LCH | lch(56.03, 51.54, 333.56°) |
| OKLab | oklab(63.96% 0.1333 -0.062) |
| OKLCH | oklch(63.96% 0.147 335) |
| XYZ | xyz(34.4816, 23.9375, 43.3533) |
| Luminance | 0.2394 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.81
Pale Magenta
#D767AD
ΔE00 4.80
Orchid (survey)
#C875C4
ΔE00 4.95
Pinky Purple
#C94CBE
ΔE00 6.30
Soft Purple
#A66FB5
ΔE00 6.53
Purpleish Pink
#DF4EC8
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C166AF #66C178
analogous
#A566C1 #C166AF #C16681
triadic
#C166AF #AFC166 #66AFC1
tetradic
#C166AF #C1A566 #66C178 #6681C1
square
#C166AF #C1A566 #66C178 #6681C1
split-complementary
#C166AF #81C166 #66C1A5
monochromatic
#7B326C #A64393 #C166AF #D392C6 #E4BDDD
Accessibility & contrast
On white
3.63
#C166AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#C166AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C166AF
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C166AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C166AF | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#667EB2
Deuteranopia (green-blind)
#7F8BAC
Tritanopia (blue-blind)
#C96A82
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #c166af; /* rgb */ color: rgb(193, 102, 175); /* oklch */ color: oklch(64.0% 0.147 335.0);
Tailwind
colors: {
custom: {
50: '#d694c7',
500: '#c166af',
950: '#000000',
},
}SCSS
$custom: #c166af; $custom-light: #d694c7; $custom-dark: #000000;
JSON
{
"hex": "#c166af",
"rgb": {
"r": 193,
"g": 102,
"b": 175
},
"hsl": {
"h": 311.868,
"s": 42.326,
"l": 57.843
},
"oklch": {
"l": 0.63964,
"c": 0.14698,
"h": 335
},
"luminance": 0.23935
}Semantic roles & 50–950 ramp
primary
#C166AF
secondary
#AFD4B6
accent
#D26E56
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140D13
muted
#837E82