#C170B0#C170B0
#C170B0 is a light, vivid pink. Relative luminance 0.261; OKLCH L 65.5% C 0.131 H 335.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C170B0 |
|---|---|
| RGB | rgb(193, 112, 176) |
| HSL | hsl(313, 40%, 60%) |
| HSV | hsv(313, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 8.8%, 24.3%) |
| CIE-LAB | lab(58.10, 41.12, -20.36) |
| CIE-LCH | lch(58.10, 45.88, 333.66°) |
| OKLab | oklab(65.53% 0.1185 -0.0548) |
| OKLCH | oklch(65.53% 0.131 335.2) |
| XYZ | xyz(35.6229, 26.0624, 44.2201) |
| Luminance | 0.2606 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.94
Purplish Pink
#CE5DAE
ΔE00 4.61
Pale Magenta
#D767AD
ΔE00 4.62
Soft Purple
#A66FB5
ΔE00 6.63
Orchid
#DA70D6
ΔE00 7.34
Dark Lilac
#9C6DA5
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170B0 #70C181
analogous
#AA70C1 #C170B0 #C17087
triadic
#C170B0 #B0C170 #70B0C1
tetradic
#C170B0 #C1AA70 #70C181 #7087C1
square
#C170B0 #C1AA70 #70C181 #7087C1
split-complementary
#C170B0 #87C170 #70C1AA
monochromatic
#7F3770 #AA4A96 #C170B0 #D49BC8 #E6C5DF
Accessibility & contrast
On white
3.38
#C170B0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#C170B0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170B0
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170B0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170B0 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7084B2
Deuteranopia (green-blind)
#8590AE
Tritanopia (blue-blind)
#C87488
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c170b0; /* rgb */ color: rgb(193, 112, 176); /* oklch */ color: oklch(65.5% 0.131 335.2);
Tailwind
colors: {
custom: {
50: '#d59bc7',
500: '#c170b0',
950: '#000000',
},
}SCSS
$custom: #c170b0; $custom-light: #d59bc7; $custom-dark: #000000;
JSON
{
"hex": "#c170b0",
"rgb": {
"r": 193,
"g": 112,
"b": 176
},
"hsl": {
"h": 312.593,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65527,
"c": 0.13052,
"h": 335.2
},
"luminance": 0.2606
}Semantic roles & 50–950 ramp
primary
#C170B0
secondary
#B7D6BD
accent
#CF7158
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82