#C170AA#C170AA
#C170AA is a light, vivid pink. Relative luminance 0.258; OKLCH L 65.3% C 0.126 H 338.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C170AA |
|---|---|
| RGB | rgb(193, 112, 170) |
| HSL | hsl(317, 40%, 60%) |
| HSV | hsv(317, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 11.9%, 24.3%) |
| CIE-LAB | lab(57.88, 40.10, -17.24) |
| CIE-LCH | lch(57.88, 43.65, 336.73°) |
| OKLab | oklab(65.29% 0.1168 -0.0461) |
| OKLCH | oklch(65.29% 0.126 338.4) |
| XYZ | xyz(35.0423, 25.8302, 41.1624) |
| Luminance | 0.2583 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pale Magenta
#D767AD
ΔE00 4.29
Purplish Pink
#CE5DAE
ΔE00 4.86
Orchid (survey)
#C875C4
ΔE00 5.26
Soft Purple
#A66FB5
ΔE00 7.57
Dark Lilac
#9C6DA5
ΔE00 8.20
Orchid
#DA70D6
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170AA #70C187
analogous
#AF70C1 #C170AA #C17082
triadic
#C170AA #AAC170 #70AAC1
tetradic
#C170AA #C1AF70 #70C187 #7082C1
square
#C170AA #C1AF70 #70C187 #7082C1
split-complementary
#C170AA #82C170 #70C1AF
monochromatic
#7F376B #AA4A8F #C170AA #D49BC3 #E6C5DD
Accessibility & contrast
On white
3.41
#C170AA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#C170AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170AA
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170AA | 1.00 | 3.41 | 6.17 | 6.17 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7283AC
Deuteranopia (green-blind)
#8790A8
Tritanopia (blue-blind)
#C97286
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c170aa; /* rgb */ color: rgb(193, 112, 170); /* oklch */ color: oklch(65.3% 0.126 338.4);
Tailwind
colors: {
custom: {
50: '#d59bc3',
500: '#c170aa',
950: '#000000',
},
}SCSS
$custom: #c170aa; $custom-light: #d59bc3; $custom-dark: #000000;
JSON
{
"hex": "#c170aa",
"rgb": {
"r": 193,
"g": 112,
"b": 170
},
"hsl": {
"h": 317.037,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65289,
"c": 0.1256,
"h": 338.4
},
"luminance": 0.25828
}Semantic roles & 50–950 ramp
primary
#C170AA
secondary
#B7D6C0
accent
#CF7A58
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E12
muted
#837E81