#C170B2#C170B2
#C170B2 is a light, vivid pink. Relative luminance 0.261; OKLCH L 65.6% C 0.132 H 334.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C170B2 |
|---|---|
| RGB | rgb(193, 112, 178) |
| HSL | hsl(311, 40%, 60%) |
| HSV | hsv(311, 42%, 76%) |
| CMYK | cmyk(0%, 42%, 7.8%, 24.3%) |
| CIE-LAB | lab(58.17, 41.46, -21.39) |
| CIE-LCH | lch(58.17, 46.65, 332.71°) |
| OKLab | oklab(65.61% 0.119 -0.0577) |
| OKLCH | oklch(65.61% 0.132 334.1) |
| XYZ | xyz(35.8222, 26.1422, 45.2699) |
| Luminance | 0.2614 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.53
Purplish Pink
#CE5DAE
ΔE00 4.63
Pale Magenta
#D767AD
ΔE00 4.81
Soft Purple
#A66FB5
ΔE00 6.37
Orchid
#DA70D6
ΔE00 6.98
Dark Lilac
#9C6DA5
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C170B2 #70C17F
analogous
#A770C1 #C170B2 #C1708A
triadic
#C170B2 #B2C170 #70B2C1
tetradic
#C170B2 #C1A770 #70C17F #708AC1
square
#C170B2 #C1A770 #70C17F #708AC1
split-complementary
#C170B2 #8AC170 #70C1A7
monochromatic
#7F3772 #AA4A98 #C170B2 #D49BC9 #E6C5E0
Accessibility & contrast
On white
3.37
#C170B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#C170B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C170B2
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C170B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C170B2 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7084B4
Deuteranopia (green-blind)
#8590B0
Tritanopia (blue-blind)
#C87489
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c170b2; /* rgb */ color: rgb(193, 112, 178); /* oklch */ color: oklch(65.6% 0.132 334.1);
Tailwind
colors: {
custom: {
50: '#d59bc9',
500: '#c170b2',
950: '#000000',
},
}SCSS
$custom: #c170b2; $custom-light: #d59bc9; $custom-dark: #000000;
JSON
{
"hex": "#c170b2",
"rgb": {
"r": 193,
"g": 112,
"b": 178
},
"hsl": {
"h": 311.111,
"s": 39.512,
"l": 59.804
},
"oklch": {
"l": 0.65609,
"c": 0.13223,
"h": 334.1
},
"luminance": 0.2614
}Semantic roles & 50–950 ramp
primary
#C170B2
secondary
#B7D6BD
accent
#CF6E58
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140E13
muted
#837E82