#C170AB#C170AB
#C170AB is a light, vivid pink. Relative luminance 0.259; OKLCH L 65.3% C 0.126 H 337.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C170AB |
|---|---|
| RGB | rgb(193, 112, 171) |
| HSL | hsl(316, 40%, 60%) |
| HSV | hsv(316, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 11.4%, 24.3%) |
| CIE-LAB | lab(57.91, 40.27, -17.76) |
| CIE-LCH | lch(57.91, 44.01, 336.20°) |
| OKLab | oklab(65.33% 0.1171 -0.0476) |
| OKLCH | oklch(65.33% 0.126 337.9) |
| XYZ | xyz(35.1373, 25.8682, 41.6625) |
| Luminance | 0.2587 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.31
Purplish Pink
#CE5DAE
ΔE00 4.79
Orchid (survey)
#C875C4
ΔE00 5.03
Soft Purple
#A66FB5
ΔE00 7.40
Dark Lilac
#9C6DA5
ΔE00 8.12
Orchid
#DA70D6
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170AB #70C186
analogous
#AE70C1 #C170AB #C17083
triadic
#C170AB #ABC170 #70ABC1
tetradic
#C170AB #C1AE70 #70C186 #7083C1
square
#C170AB #C1AE70 #70C186 #7083C1
split-complementary
#C170AB #83C170 #70C1AE
monochromatic
#7F376C #AA4A90 #C170AB #D49BC4 #E6C5DD
Accessibility & contrast
On white
3.40
#C170AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#C170AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170AB
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170AB | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7284AD
Deuteranopia (green-blind)
#8790A9
Tritanopia (blue-blind)
#C97286
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c170ab; /* rgb */ color: rgb(193, 112, 171); /* oklch */ color: oklch(65.3% 0.126 337.9);
Tailwind
colors: {
custom: {
50: '#d59bc4',
500: '#c170ab',
950: '#000000',
},
}SCSS
$custom: #c170ab; $custom-light: #d59bc4; $custom-dark: #000000;
JSON
{
"hex": "#c170ab",
"rgb": {
"r": 193,
"g": 112,
"b": 171
},
"hsl": {
"h": 316.296,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65328,
"c": 0.1264,
"h": 337.9
},
"luminance": 0.25866
}Semantic roles & 50–950 ramp
primary
#C170AB
secondary
#B7D6BF
accent
#CF7958
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E12
muted
#837E81