#C157AA#C157AA
#C157AA is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.7% C 0.168 H 336.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C157AA |
|---|---|
| RGB | rgb(193, 87, 170) |
| HSL | hsl(313, 46%, 55%) |
| HSV | hsv(313, 55%, 76%) |
| CMYK | cmyk(0%, 54.9%, 11.9%, 24.3%) |
| CIE-LAB | lab(53.01, 52.73, -24.69) |
| CIE-LCH | lch(53.01, 58.22, 334.91°) |
| OKLab | oklab(61.66% 0.1538 -0.0668) |
| OKLCH | oklch(61.66% 0.168 336.5) |
| XYZ | xyz(32.6565, 21.0586, 40.3671) |
| Luminance | 0.2106 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.24
Pinky Purple
#C94CBE
ΔE00 4.26
Purpley Pink
#C83CB9
ΔE00 5.54
Purpleish Pink
#DF4EC8
ΔE00 6.36
Pale Magenta
#D767AD
ΔE00 6.63
Pinkish Purple
#D648D7
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C157AA #57C16E
analogous
#A357C1 #C157AA #C15775
triadic
#C157AA #AAC157 #57AAC1
tetradic
#C157AA #C1A357 #57C16E #5775C1
square
#C157AA #C1A357 #57C16E #5775C1
split-complementary
#C157AA #75C157 #57C1A3
monochromatic
#732A63 #A03B8A #C157AA #D184C1 #E2B0D7
Accessibility & contrast
On white
4.03
#C157AA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#C157AA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C157AA
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C157AA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C157AA | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5974AD
Deuteranopia (green-blind)
#7884A7
Tritanopia (blue-blind)
#CA5C79
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #c157aa; /* rgb */ color: rgb(193, 87, 170); /* oklch */ color: oklch(61.7% 0.168 336.5);
Tailwind
colors: {
custom: {
50: '#d68bc3',
500: '#c157aa',
950: '#000000',
},
}SCSS
$custom: #c157aa; $custom-light: #d68bc3; $custom-dark: #000000;
JSON
{
"hex": "#c157aa",
"rgb": {
"r": 193,
"g": 87,
"b": 170
},
"hsl": {
"h": 313.019,
"s": 46.087,
"l": 54.902
},
"oklch": {
"l": 0.61661,
"c": 0.16763,
"h": 336.5
},
"luminance": 0.21056
}Semantic roles & 50–950 ramp
primary
#C157AA
secondary
#A4D0AD
accent
#D66F52
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81