#C170A4#C170A4
#C170A4 is a light, vivid pink. Relative luminance 0.256; OKLCH L 65.1% C 0.121 H 342.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C170A4 |
|---|---|
| RGB | rgb(193, 112, 164) |
| HSL | hsl(321, 40%, 60%) |
| HSV | hsv(321, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 15%, 24.3%) |
| CIE-LAB | lab(57.66, 39.11, -14.10) |
| CIE-LCH | lch(57.66, 41.58, 340.17°) |
| OKLab | oklab(65.06% 0.1151 -0.0375) |
| OKLCH | oklch(65.06% 0.121 342) |
| XYZ | xyz(34.4876, 25.6083, 38.2412) |
| Luminance | 0.2561 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.45
Purplish Pink
#CE5DAE
ΔE00 5.53
Orchid (survey)
#C875C4
ΔE00 6.68
Palevioletred
#DB7093
ΔE00 8.44
Dusty Lavender
#AC86A8
ΔE00 8.57
Soft Purple
#A66FB5
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170A4 #70C18D
analogous
#B570C1 #C170A4 #C1707C
triadic
#C170A4 #A4C170 #70A4C1
tetradic
#C170A4 #C1B570 #70C18D #707CC1
square
#C170A4 #C1B570 #70C18D #707CC1
split-complementary
#C170A4 #7CC170 #70C1B5
monochromatic
#7F3766 #AA4A88 #C170A4 #D49BBF #E6C5DA
Accessibility & contrast
On white
3.43
#C170A4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#C170A4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170A4
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170A4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170A4 | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7483A6
Deuteranopia (green-blind)
#898FA2
Tritanopia (blue-blind)
#CA7183
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #c170a4; /* rgb */ color: rgb(193, 112, 164); /* oklch */ color: oklch(65.1% 0.121 342.0);
Tailwind
colors: {
custom: {
50: '#d59bbf',
500: '#c170a4',
950: '#000000',
},
}SCSS
$custom: #c170a4; $custom-light: #d59bbf; $custom-dark: #000000;
JSON
{
"hex": "#c170a4",
"rgb": {
"r": 193,
"g": 112,
"b": 164
},
"hsl": {
"h": 321.481,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65059,
"c": 0.12103,
"h": 342
},
"luminance": 0.25606
}Semantic roles & 50–950 ramp
primary
#C170A4
secondary
#B7D6C2
accent
#CF8358
background
#FDF9FB
surface
#FAF2F7
border
#D3CCD0
text
#140E12
muted
#837E81