#C170A3#C170A3
#C170A3 is a light, vivid pink. Relative luminance 0.256; OKLCH L 65.0% C 0.120 H 342.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C170A3 |
|---|---|
| RGB | rgb(193, 112, 163) |
| HSL | hsl(322, 40%, 60%) |
| HSV | hsv(322, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 15.5%, 24.3%) |
| CIE-LAB | lab(57.63, 38.95, -13.58) |
| CIE-LCH | lch(57.63, 41.25, 340.78°) |
| OKLab | oklab(65.02% 0.1148 -0.036) |
| OKLCH | oklch(65.02% 0.12 342.6) |
| XYZ | xyz(34.3977, 25.5723, 37.7674) |
| Luminance | 0.2557 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.53
Purplish Pink
#CE5DAE
ΔE00 5.68
Orchid (survey)
#C875C4
ΔE00 6.93
Palevioletred
#DB7093
ΔE00 8.24
Dusty Lavender
#AC86A8
ΔE00 8.58
Muted Pink
#D1768F
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170A3 #70C18E
analogous
#B670C1 #C170A3 #C1707B
triadic
#C170A3 #A3C170 #70A3C1
tetradic
#C170A3 #C1B670 #70C18E #707BC1
square
#C170A3 #C1B670 #70C18E #707BC1
split-complementary
#C170A3 #7BC170 #70C1B6
monochromatic
#7F3765 #AA4A86 #C170A3 #D49BBE #E6C5DA
Accessibility & contrast
On white
3.43
#C170A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#C170A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170A3
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170A3 | 1.00 | 3.43 | 6.11 | 6.11 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7582A5
Deuteranopia (green-blind)
#898FA1
Tritanopia (blue-blind)
#CA7083
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #c170a3; /* rgb */ color: rgb(193, 112, 163); /* oklch */ color: oklch(65.0% 0.120 342.6);
Tailwind
colors: {
custom: {
50: '#d59bbe',
500: '#c170a3',
950: '#000000',
},
}SCSS
$custom: #c170a3; $custom-light: #d59bbe; $custom-dark: #000000;
JSON
{
"hex": "#c170a3",
"rgb": {
"r": 193,
"g": 112,
"b": 163
},
"hsl": {
"h": 322.222,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65021,
"c": 0.12031,
"h": 342.6
},
"luminance": 0.2557
}Semantic roles & 50–950 ramp
primary
#C170A3
secondary
#B7D6C2
accent
#CF8458
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140E12
muted
#837E81