#C158AE#C158AE
#C158AE is a mid, vivid pink. Relative luminance 0.214; OKLCH L 62.0% C 0.169 H 334.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C158AE |
|---|---|
| RGB | rgb(193, 88, 174) |
| HSL | hsl(311, 46%, 55%) |
| HSV | hsv(311, 54%, 76%) |
| CMYK | cmyk(0%, 54.4%, 9.8%, 24.3%) |
| CIE-LAB | lab(53.36, 52.90, -26.49) |
| CIE-LCH | lch(53.36, 59.16, 333.40°) |
| OKLab | oklab(61.97% 0.1532 -0.0719) |
| OKLCH | oklch(61.97% 0.169 334.9) |
| XYZ | xyz(33.1222, 21.3753, 42.4175) |
| Luminance | 0.2137 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.33
Pinky Purple
#C94CBE
ΔE00 3.69
Purpley Pink
#C83CB9
ΔE00 5.29
Purpleish Pink
#DF4EC8
ΔE00 5.89
Pale Magenta
#D767AD
ΔE00 6.78
Pinkish Purple
#D648D7
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C158AE #58C16B
analogous
#9F58C1 #C158AE #C15879
triadic
#C158AE #AEC158 #58AEC1
tetradic
#C158AE #C19F58 #58C16B #5879C1
square
#C158AE #C19F58 #58C16B #5879C1
split-complementary
#C158AE #79C158 #58C19F
monochromatic
#742B67 #A03C8E #C158AE #D285C4 #E2B1D9
Accessibility & contrast
On white
3.98
#C158AE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#C158AE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C158AE
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C158AE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C158AE | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5876B1
Deuteranopia (green-blind)
#7785AB
Tritanopia (blue-blind)
#C95E7B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #c158ae; /* rgb */ color: rgb(193, 88, 174); /* oklch */ color: oklch(62.0% 0.169 334.9);
Tailwind
colors: {
custom: {
50: '#d68cc6',
500: '#c158ae',
950: '#000000',
},
}SCSS
$custom: #c158ae; $custom-light: #d68cc6; $custom-dark: #000000;
JSON
{
"hex": "#c158ae",
"rgb": {
"r": 193,
"g": 88,
"b": 174
},
"hsl": {
"h": 310.857,
"s": 45.852,
"l": 55.098
},
"oklch": {
"l": 0.6197,
"c": 0.16918,
"h": 334.9
},
"luminance": 0.21373
}Semantic roles & 50–950 ramp
primary
#C158AE
secondary
#A4D0AC
accent
#D66A52
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82