#C170A7#C170A7
#C170A7 is a light, vivid pink. Relative luminance 0.257; OKLCH L 65.2% C 0.123 H 340.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #C170A7 |
|---|---|
| RGB | rgb(193, 112, 167) |
| HSL | hsl(319, 40%, 60%) |
| HSV | hsv(319, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 13.5%, 24.3%) |
| CIE-LAB | lab(57.77, 39.60, -15.68) |
| CIE-LCH | lch(57.77, 42.59, 338.40°) |
| OKLab | oklab(65.17% 0.116 -0.0418) |
| OKLCH | oklch(65.17% 0.123 340.2) |
| XYZ | xyz(34.7617, 25.7180, 39.6848) |
| Luminance | 0.2572 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.31
Purplish Pink
#CE5DAE
ΔE00 5.15
Orchid (survey)
#C875C4
ΔE00 5.96
Soft Purple
#A66FB5
ΔE00 8.11
Dark Lilac
#9C6DA5
ΔE00 8.47
Dusty Lavender
#AC86A8
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170A7 #70C18A
analogous
#B270C1 #C170A7 #C1707F
triadic
#C170A7 #A7C170 #70A7C1
tetradic
#C170A7 #C1B270 #70C18A #707FC1
square
#C170A7 #C1B270 #70C18A #707FC1
split-complementary
#C170A7 #7FC170 #70C1B2
monochromatic
#7F3768 #AA4A8B #C170A7 #D49BC1 #E6C5DC
Accessibility & contrast
On white
3.42
#C170A7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#C170A7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170A7
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170A7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170A7 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7383A9
Deuteranopia (green-blind)
#888FA5
Tritanopia (blue-blind)
#CA7184
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c170a7; /* rgb */ color: rgb(193, 112, 167); /* oklch */ color: oklch(65.2% 0.123 340.2);
Tailwind
colors: {
custom: {
50: '#d59bc1',
500: '#c170a7',
950: '#000000',
},
}SCSS
$custom: #c170a7; $custom-light: #d59bc1; $custom-dark: #000000;
JSON
{
"hex": "#c170a7",
"rgb": {
"r": 193,
"g": 112,
"b": 167
},
"hsl": {
"h": 319.259,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65173,
"c": 0.12327,
"h": 340.2
},
"luminance": 0.25716
}Semantic roles & 50–950 ramp
primary
#C170A7
secondary
#B7D6C1
accent
#CF7F58
background
#FDF9FB
surface
#FAF2F7
border
#D3CCD0
text
#140E12
muted
#837E81