#CC5157#CC5157
#CC5157 is a mid, vivid red. Relative luminance 0.194; OKLCH L 59.8% C 0.156 H 20.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5157 |
|---|---|
| RGB | rgb(204, 81, 87) |
| HSL | hsl(357, 55%, 56%) |
| HSV | hsv(357, 60%, 80%) |
| CMYK | cmyk(0%, 60.3%, 57.4%, 20%) |
| CIE-LAB | lab(51.17, 49.27, 22.08) |
| CIE-LCH | lch(51.17, 53.99, 24.14°) |
| OKLab | oklab(59.8% 0.1468 0.0542) |
| OKLCH | oklch(59.8% 0.156 20.3) |
| XYZ | xyz(29.5672, 19.4141, 11.2053) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Faded Red
#D3494E
ΔE00 2.40
Indianred
#CD5C5C
ΔE00 2.75
Dark Coral
#CF524E
ΔE00 3.30
Dark Salmon
#C85A53
ΔE00 3.77
Pastel Red
#DB5856
ΔE00 4.49
Dusty Red
#B9484E
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5157 #51CCC6
analogous
#CC5194 #CC5157 #CC8851
triadic
#CC5157 #57CC51 #5157CC
tetradic
#CC5157 #94CC51 #51CCC6 #8851CC
square
#CC5157 #94CC51 #51CCC6 #8851CC
split-complementary
#CC5157 #51CC88 #5194CC
monochromatic
#7E2529 #AD3339 #CC5157 #DA8085 #E8B0B2
Accessibility & contrast
On white
4.30
#CC5157 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#CC5157 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5157
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5157 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5157 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6A56
Deuteranopia (green-blind)
#8E8454
Tritanopia (blue-blind)
#DF3B54
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc5157; /* rgb */ color: rgb(204, 81, 87); /* oklch */ color: oklch(59.8% 0.156 20.3);
Tailwind
colors: {
custom: {
50: '#e18786',
500: '#cc5157',
950: '#000000',
},
}SCSS
$custom: #cc5157; $custom-light: #e18786; $custom-dark: #000000;
JSON
{
"hex": "#cc5157",
"rgb": {
"r": 204,
"g": 81,
"b": 87
},
"hsl": {
"h": 357.073,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.59804,
"c": 0.15643,
"h": 20.3
},
"luminance": 0.1941
}Semantic roles & 50–950 ramp
primary
#CC5157
secondary
#A3D6D3
accent
#DED74A
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#160C0B
muted
#847D7C