#C170A9#C170A9
#C170A9 is a light, vivid pink. Relative luminance 0.258; OKLCH L 65.3% C 0.125 H 339.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #C170A9 |
|---|---|
| RGB | rgb(193, 112, 169) |
| HSL | hsl(318, 40%, 60%) |
| HSV | hsv(318, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 12.4%, 24.3%) |
| CIE-LAB | lab(57.84, 39.93, -16.72) |
| CIE-LCH | lch(57.84, 43.29, 337.28°) |
| OKLab | oklab(65.25% 0.1165 -0.0447) |
| OKLCH | oklch(65.25% 0.125 339) |
| XYZ | xyz(34.9481, 25.7925, 40.6661) |
| Luminance | 0.2579 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.28
Purplish Pink
#CE5DAE
ΔE00 4.94
Orchid (survey)
#C875C4
ΔE00 5.49
Soft Purple
#A66FB5
ΔE00 7.74
Dark Lilac
#9C6DA5
ΔE00 8.28
Dusty Lavender
#AC86A8
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170A9 #70C188
analogous
#B170C1 #C170A9 #C17081
triadic
#C170A9 #A9C170 #70A9C1
tetradic
#C170A9 #C1B170 #70C188 #7081C1
square
#C170A9 #C1B170 #70C188 #7081C1
split-complementary
#C170A9 #81C170 #70C1B1
monochromatic
#7F376A #AA4A8E #C170A9 #D49BC3 #E6C5DC
Accessibility & contrast
On white
3.41
#C170A9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#C170A9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170A9
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170A9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170A9 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7383AB
Deuteranopia (green-blind)
#8890A7
Tritanopia (blue-blind)
#C97285
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c170a9; /* rgb */ color: rgb(193, 112, 169); /* oklch */ color: oklch(65.3% 0.125 339.0);
Tailwind
colors: {
custom: {
50: '#d59bc2',
500: '#c170a9',
950: '#000000',
},
}SCSS
$custom: #c170a9; $custom-light: #d59bc2; $custom-dark: #000000;
JSON
{
"hex": "#c170a9",
"rgb": {
"r": 193,
"g": 112,
"b": 169
},
"hsl": {
"h": 317.778,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.6525,
"c": 0.12481,
"h": 339
},
"luminance": 0.2579
}Semantic roles & 50–950 ramp
primary
#C170A9
secondary
#B7D6C0
accent
#CF7C58
background
#FDF9FB
surface
#FAF2F7
border
#D3CCD0
text
#140E12
muted
#837E81