#C170A5#C170A5
#C170A5 is a light, vivid pink. Relative luminance 0.256; OKLCH L 65.1% C 0.122 H 341.4°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C170A5 |
|---|---|
| RGB | rgb(193, 112, 165) |
| HSL | hsl(321, 40%, 60%) |
| HSV | hsv(321, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 14.5%, 24.3%) |
| CIE-LAB | lab(57.70, 39.27, -14.63) |
| CIE-LCH | lch(57.70, 41.91, 339.57°) |
| OKLab | oklab(65.1% 0.1154 -0.0389) |
| OKLCH | oklch(65.1% 0.122 341.4) |
| XYZ | xyz(34.5783, 25.6446, 38.7186) |
| Luminance | 0.2564 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.39
Purplish Pink
#CE5DAE
ΔE00 5.40
Orchid (survey)
#C875C4
ΔE00 6.44
Soft Purple
#A66FB5
ΔE00 8.49
Dusty Lavender
#AC86A8
ΔE00 8.58
Palevioletred
#DB7093
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170A5 #70C18C
analogous
#B570C1 #C170A5 #C1707D
triadic
#C170A5 #A5C170 #70A5C1
tetradic
#C170A5 #C1B570 #70C18C #707DC1
square
#C170A5 #C1B570 #70C18C #707DC1
split-complementary
#C170A5 #7DC170 #70C1B5
monochromatic
#7F3766 #AA4A89 #C170A5 #D49BC0 #E6C5DB
Accessibility & contrast
On white
3.43
#C170A5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#C170A5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170A5
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170A5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170A5 | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7483A7
Deuteranopia (green-blind)
#898FA3
Tritanopia (blue-blind)
#CA7184
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c170a5; /* rgb */ color: rgb(193, 112, 165); /* oklch */ color: oklch(65.1% 0.122 341.4);
Tailwind
colors: {
custom: {
50: '#d59bbf',
500: '#c170a5',
950: '#000000',
},
}SCSS
$custom: #c170a5; $custom-light: #d59bbf; $custom-dark: #000000;
JSON
{
"hex": "#c170a5",
"rgb": {
"r": 193,
"g": 112,
"b": 165
},
"hsl": {
"h": 320.741,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65096,
"c": 0.12176,
"h": 341.4
},
"luminance": 0.25642
}Semantic roles & 50–950 ramp
primary
#C170A5
secondary
#B7D6C2
accent
#CF8258
background
#FDF9FB
surface
#FAF2F7
border
#D3CCD0
text
#140E12
muted
#837E81