#C170A2#C170A2
#C170A2 is a light, moderate pink. Relative luminance 0.255; OKLCH L 65.0% C 0.120 H 343.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C170A2 |
|---|---|
| RGB | rgb(193, 112, 162) |
| HSL | hsl(323, 40%, 60%) |
| HSV | hsv(323, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 16.1%, 24.3%) |
| CIE-LAB | lab(57.59, 38.79, -13.05) |
| CIE-LCH | lch(57.59, 40.92, 341.40°) |
| OKLab | oklab(64.98% 0.1145 -0.0346) |
| OKLCH | oklch(64.98% 0.12 343.2) |
| XYZ | xyz(34.3084, 25.5366, 37.2974) |
| Luminance | 0.2553 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.62
Purplish Pink
#CE5DAE
ΔE00 5.84
Orchid (survey)
#C875C4
ΔE00 7.18
Palevioletred
#DB7093
ΔE00 8.04
Muted Pink
#D1768F
ΔE00 8.55
Dusty Lavender
#AC86A8
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170A2 #70C18F
analogous
#B870C1 #C170A2 #C1707A
triadic
#C170A2 #A2C170 #70A2C1
tetradic
#C170A2 #C1B870 #70C18F #707AC1
square
#C170A2 #C1B870 #70C18F #707AC1
split-complementary
#C170A2 #7AC170 #70C1B8
monochromatic
#7F3764 #AA4A85 #C170A2 #D49BBE #E6C5DA
Accessibility & contrast
On white
3.44
#C170A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#C170A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170A2
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170A2 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 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)
#7582A4
Deuteranopia (green-blind)
#8A8FA0
Tritanopia (blue-blind)
#CA7082
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #c170a2; /* rgb */ color: rgb(193, 112, 162); /* oklch */ color: oklch(65.0% 0.120 343.2);
Tailwind
colors: {
custom: {
50: '#d59bbd',
500: '#c170a2',
950: '#000000',
},
}SCSS
$custom: #c170a2; $custom-light: #d59bbd; $custom-dark: #000000;
JSON
{
"hex": "#c170a2",
"rgb": {
"r": 193,
"g": 112,
"b": 162
},
"hsl": {
"h": 322.963,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.64984,
"c": 0.1196,
"h": 343.2
},
"luminance": 0.25534
}Semantic roles & 50–950 ramp
primary
#C170A2
secondary
#B7D6C3
accent
#CF8658
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140E12
muted
#837E81