#C170B3#C170B3
#C170B3 is a light, vivid pink. Relative luminance 0.262; OKLCH L 65.6% C 0.133 H 333.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C170B3 |
|---|---|
| RGB | rgb(193, 112, 179) |
| HSL | hsl(310, 40%, 60%) |
| HSV | hsv(310, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 7.3%, 24.3%) |
| CIE-LAB | lab(58.21, 41.64, -21.91) |
| CIE-LCH | lch(58.21, 47.05, 332.25°) |
| OKLab | oklab(65.65% 0.1192 -0.0591) |
| OKLCH | oklch(65.65% 0.133 333.6) |
| XYZ | xyz(35.9230, 26.1825, 45.8006) |
| Luminance | 0.2618 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.34
Purplish Pink
#CE5DAE
ΔE00 4.65
Pale Magenta
#D767AD
ΔE00 4.92
Soft Purple
#A66FB5
ΔE00 6.25
Orchid
#DA70D6
ΔE00 6.80
Dark Lilac
#9C6DA5
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170B3 #70C17E
analogous
#A670C1 #C170B3 #C1708B
triadic
#C170B3 #B3C170 #70B3C1
tetradic
#C170B3 #C1A670 #70C17E #708BC1
square
#C170B3 #C1A670 #70C17E #708BC1
split-complementary
#C170B3 #8BC170 #70C1A6
monochromatic
#7F3773 #AA4A99 #C170B3 #D49BCA #E6C5E0
Accessibility & contrast
On white
3.37
#C170B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#C170B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170B3
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170B3 | 1.00 | 3.37 | 6.24 | 6.24 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F85B5
Deuteranopia (green-blind)
#8490B1
Tritanopia (blue-blind)
#C87489
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c170b3; /* rgb */ color: rgb(193, 112, 179); /* oklch */ color: oklch(65.6% 0.133 333.6);
Tailwind
colors: {
custom: {
50: '#d59bca',
500: '#c170b3',
950: '#000000',
},
}SCSS
$custom: #c170b3; $custom-light: #d59bca; $custom-dark: #000000;
JSON
{
"hex": "#c170b3",
"rgb": {
"r": 193,
"g": 112,
"b": 179
},
"hsl": {
"h": 310.37,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.6565,
"c": 0.13309,
"h": 333.6
},
"luminance": 0.2618
}Semantic roles & 50–950 ramp
primary
#C170B3
secondary
#B7D6BC
accent
#CF6D58
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82