#C170B1#C170B1
#C170B1 is a light, vivid pink. Relative luminance 0.261; OKLCH L 65.6% C 0.131 H 334.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C170B1 |
|---|---|
| RGB | rgb(193, 112, 177) |
| HSL | hsl(312, 40%, 60%) |
| HSV | hsv(312, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 8.3%, 24.3%) |
| CIE-LAB | lab(58.13, 41.29, -20.87) |
| CIE-LCH | lch(58.13, 46.26, 333.18°) |
| OKLab | oklab(65.57% 0.1187 -0.0563) |
| OKLCH | oklch(65.57% 0.131 334.6) |
| XYZ | xyz(35.7222, 26.1021, 44.7431) |
| Luminance | 0.2610 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.73
Purplish Pink
#CE5DAE
ΔE00 4.61
Pale Magenta
#D767AD
ΔE00 4.71
Soft Purple
#A66FB5
ΔE00 6.49
Orchid
#DA70D6
ΔE00 7.16
Dark Lilac
#9C6DA5
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170B1 #70C180
analogous
#A970C1 #C170B1 #C17089
triadic
#C170B1 #B1C170 #70B1C1
tetradic
#C170B1 #C1A970 #70C180 #7089C1
square
#C170B1 #C1A970 #70C180 #7089C1
split-complementary
#C170B1 #89C170 #70C1A9
monochromatic
#7F3771 #AA4A97 #C170B1 #D49BC8 #E6C5E0
Accessibility & contrast
On white
3.38
#C170B1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#C170B1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170B1
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170B1 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7084B3
Deuteranopia (green-blind)
#8590AF
Tritanopia (blue-blind)
#C87488
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c170b1; /* rgb */ color: rgb(193, 112, 177); /* oklch */ color: oklch(65.6% 0.131 334.6);
Tailwind
colors: {
custom: {
50: '#d59bc8',
500: '#c170b1',
950: '#000000',
},
}SCSS
$custom: #c170b1; $custom-light: #d59bc8; $custom-dark: #000000;
JSON
{
"hex": "#c170b1",
"rgb": {
"r": 193,
"g": 112,
"b": 177
},
"hsl": {
"h": 311.852,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65568,
"c": 0.13137,
"h": 334.6
},
"luminance": 0.261
}Semantic roles & 50–950 ramp
primary
#C170B1
secondary
#B7D6BD
accent
#CF7058
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82