#C170AF#C170AF
#C170AF is a light, vivid pink. Relative luminance 0.260; OKLCH L 65.5% C 0.130 H 335.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #C170AF |
|---|---|
| RGB | rgb(193, 112, 175) |
| HSL | hsl(313, 40%, 60%) |
| HSV | hsv(313, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 9.3%, 24.3%) |
| CIE-LAB | lab(58.06, 40.94, -19.84) |
| CIE-LCH | lch(58.06, 45.50, 334.15°) |
| OKLab | oklab(65.49% 0.1182 -0.0534) |
| OKLCH | oklch(65.49% 0.13 335.7) |
| XYZ | xyz(35.5243, 26.0230, 43.7009) |
| Luminance | 0.2602 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 4.15
Pale Magenta
#D767AD
ΔE00 4.53
Purplish Pink
#CE5DAE
ΔE00 4.62
Soft Purple
#A66FB5
ΔE00 6.77
Orchid
#DA70D6
ΔE00 7.53
Dark Lilac
#9C6DA5
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170AF #70C182
analogous
#AA70C1 #C170AF #C17087
triadic
#C170AF #AFC170 #70AFC1
tetradic
#C170AF #C1AA70 #70C182 #7087C1
square
#C170AF #C1AA70 #70C182 #7087C1
split-complementary
#C170AF #87C170 #70C1AA
monochromatic
#7F376F #AA4A95 #C170AF #D49BC7 #E6C5DF
Accessibility & contrast
On white
3.38
#C170AF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#C170AF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170AF
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170AF | 1.00 | 3.38 | 6.20 | 6.20 |
| #FFFFFF | 3.38 | 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)
#7184B1
Deuteranopia (green-blind)
#8690AD
Tritanopia (blue-blind)
#C87388
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #c170af; /* rgb */ color: rgb(193, 112, 175); /* oklch */ color: oklch(65.5% 0.130 335.7);
Tailwind
colors: {
custom: {
50: '#d59bc7',
500: '#c170af',
950: '#000000',
},
}SCSS
$custom: #c170af; $custom-light: #d59bc7; $custom-dark: #000000;
JSON
{
"hex": "#c170af",
"rgb": {
"r": 193,
"g": 112,
"b": 175
},
"hsl": {
"h": 313.333,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65487,
"c": 0.12968,
"h": 335.7
},
"luminance": 0.26021
}Semantic roles & 50–950 ramp
primary
#C170AF
secondary
#B7D6BE
accent
#CF7358
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82