#C170AE#C170AE
#C170AE is a light, vivid pink. Relative luminance 0.260; OKLCH L 65.4% C 0.129 H 336.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C170AE |
|---|---|
| RGB | rgb(193, 112, 174) |
| HSL | hsl(314, 40%, 60%) |
| HSV | hsv(314, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 9.8%, 24.3%) |
| CIE-LAB | lab(58.02, 40.77, -19.32) |
| CIE-LCH | lch(58.02, 45.12, 334.64°) |
| OKLab | oklab(65.45% 0.1179 -0.0519) |
| OKLCH | oklch(65.45% 0.129 336.2) |
| XYZ | xyz(35.4264, 25.9838, 43.1856) |
| Luminance | 0.2598 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 4.37
Pale Magenta
#D767AD
ΔE00 4.46
Purplish Pink
#CE5DAE
ΔE00 4.64
Soft Purple
#A66FB5
ΔE00 6.92
Orchid
#DA70D6
ΔE00 7.72
Dark Lilac
#9C6DA5
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170AE #70C183
analogous
#AB70C1 #C170AE #C17086
triadic
#C170AE #AEC170 #70AEC1
tetradic
#C170AE #C1AB70 #70C183 #7086C1
square
#C170AE #C1AB70 #70C183 #7086C1
split-complementary
#C170AE #86C170 #70C1AB
monochromatic
#7F376E #AA4A93 #C170AE #D49BC6 #E6C5DE
Accessibility & contrast
On white
3.39
#C170AE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#C170AE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170AE
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170AE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170AE | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7184B0
Deuteranopia (green-blind)
#8690AC
Tritanopia (blue-blind)
#C97387
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c170ae; /* rgb */ color: rgb(193, 112, 174); /* oklch */ color: oklch(65.4% 0.129 336.2);
Tailwind
colors: {
custom: {
50: '#d59bc6',
500: '#c170ae',
950: '#000000',
},
}SCSS
$custom: #c170ae; $custom-light: #d59bc6; $custom-dark: #000000;
JSON
{
"hex": "#c170ae",
"rgb": {
"r": 193,
"g": 112,
"b": 174
},
"hsl": {
"h": 314.074,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65447,
"c": 0.12884,
"h": 336.2
},
"luminance": 0.25982
}Semantic roles & 50–950 ramp
primary
#C170AE
secondary
#B7D6BE
accent
#CF7458
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82