#CC5158#CC5158
#CC5158 is a mid, vivid red. Relative luminance 0.194; OKLCH L 59.8% C 0.156 H 19.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5158 |
|---|---|
| RGB | rgb(204, 81, 88) |
| HSL | hsl(357, 55%, 56%) |
| HSV | hsv(357, 60%, 80%) |
| CMYK | cmyk(0%, 60.3%, 56.9%, 20%) |
| CIE-LAB | lab(51.19, 49.34, 21.52) |
| CIE-LCH | lch(51.19, 53.83, 23.56°) |
| OKLab | oklab(59.83% 0.1472 0.0529) |
| OKLCH | oklch(59.83% 0.156 19.8) |
| XYZ | xyz(29.6083, 19.4306, 11.4219) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Faded Red
#D3494E
ΔE00 2.64
Indianred
#CD5C5C
ΔE00 2.86
Dark Coral
#CF524E
ΔE00 3.62
Dark Salmon
#C85A53
ΔE00 4.04
Pastel Red
#DB5856
ΔE00 4.67
Dusty Red
#B9484E
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5158 #51CCC5
analogous
#CC5195 #CC5158 #CC8751
triadic
#CC5158 #58CC51 #5158CC
tetradic
#CC5158 #95CC51 #51CCC5 #8751CC
square
#CC5158 #95CC51 #51CCC5 #8751CC
split-complementary
#CC5158 #51CC87 #5195CC
monochromatic
#7E252A #AD333A #CC5158 #DA8085 #E8B0B3
Accessibility & contrast
On white
4.30
#CC5158 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#CC5158 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5158
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5158 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5158 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6A57
Deuteranopia (green-blind)
#8E8455
Tritanopia (blue-blind)
#DF3B54
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc5158; /* rgb */ color: rgb(204, 81, 88); /* oklch */ color: oklch(59.8% 0.156 19.8);
Tailwind
colors: {
custom: {
50: '#e18787',
500: '#cc5158',
950: '#000000',
},
}SCSS
$custom: #cc5158; $custom-light: #e18787; $custom-dark: #000000;
JSON
{
"hex": "#cc5158",
"rgb": {
"r": 204,
"g": 81,
"b": 88
},
"hsl": {
"h": 356.585,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.59825,
"c": 0.15638,
"h": 19.8
},
"luminance": 0.19427
}Semantic roles & 50–950 ramp
primary
#CC5158
secondary
#A3D6D3
accent
#DED64A
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#160C0B
muted
#847D7C