#C170A1#C170A1
#C170A1 is a light, moderate pink. Relative luminance 0.255; OKLCH L 64.9% C 0.119 H 343.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C170A1 |
|---|---|
| RGB | rgb(193, 112, 161) |
| HSL | hsl(324, 40%, 60%) |
| HSV | hsv(324, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 16.6%, 24.3%) |
| CIE-LAB | lab(57.56, 38.63, -12.52) |
| CIE-LCH | lch(57.56, 40.61, 342.04°) |
| OKLab | oklab(64.95% 0.1142 -0.0331) |
| OKLCH | oklch(64.95% 0.119 343.8) |
| XYZ | xyz(34.2199, 25.5012, 36.8311) |
| Luminance | 0.2550 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.73
Purplish Pink
#CE5DAE
ΔE00 6.00
Orchid (survey)
#C875C4
ΔE00 7.43
Palevioletred
#DB7093
ΔE00 7.84
Muted Pink
#D1768F
ΔE00 8.31
Dusty Lavender
#AC86A8
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170A1 #70C190
analogous
#B970C1 #C170A1 #C17079
triadic
#C170A1 #A1C170 #70A1C1
tetradic
#C170A1 #C1B970 #70C190 #7079C1
square
#C170A1 #C1B970 #70C190 #7079C1
split-complementary
#C170A1 #79C170 #70C1B9
monochromatic
#7F3763 #AA4A84 #C170A1 #D49BBD #E6C5D9
Accessibility & contrast
On white
3.44
#C170A1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#C170A1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170A1
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170A1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170A1 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7582A3
Deuteranopia (green-blind)
#8A8F9F
Tritanopia (blue-blind)
#CA7082
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #c170a1; /* rgb */ color: rgb(193, 112, 161); /* oklch */ color: oklch(64.9% 0.119 343.8);
Tailwind
colors: {
custom: {
50: '#d59bbc',
500: '#c170a1',
950: '#000000',
},
}SCSS
$custom: #c170a1; $custom-light: #d59bbc; $custom-dark: #000000;
JSON
{
"hex": "#c170a1",
"rgb": {
"r": 193,
"g": 112,
"b": 161
},
"hsl": {
"h": 323.704,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.64947,
"c": 0.11889,
"h": 343.8
},
"luminance": 0.25499
}Semantic roles & 50–950 ramp
primary
#C170A1
secondary
#B7D6C3
accent
#CF8758
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140E12
muted
#837E81