#CC5257#CC5257
#CC5257 is a mid, vivid red. Relative luminance 0.196; OKLCH L 59.9% C 0.155 H 20.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5257 |
|---|---|
| RGB | rgb(204, 82, 87) |
| HSL | hsl(358, 54%, 56%) |
| HSV | hsv(358, 60%, 80%) |
| CMYK | cmyk(0%, 59.8%, 57.4%, 20%) |
| CIE-LAB | lab(51.34, 48.81, 22.31) |
| CIE-LCH | lch(51.34, 53.67, 24.56°) |
| OKLab | oklab(59.93% 0.1453 0.0547) |
| OKLCH | oklch(59.93% 0.155 20.6) |
| XYZ | xyz(29.6420, 19.5638, 11.2302) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Faded Red
#D3494E
ΔE00 2.38
Indianred
#CD5C5C
ΔE00 2.48
Dark Coral
#CF524E
ΔE00 3.07
Dark Salmon
#C85A53
ΔE00 3.49
Pastel Red
#DB5856
ΔE00 4.25
Pale Red
#D9544D
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5257 #52CCC7
analogous
#CC5294 #CC5257 #CC8A52
triadic
#CC5257 #57CC52 #5257CC
tetradic
#CC5257 #94CC52 #52CCC7 #8A52CC
square
#CC5257 #94CC52 #52CCC7 #8A52CC
split-complementary
#CC5257 #52CC8A #5294CC
monochromatic
#7E2529 #AE3338 #CC5257 #DA8185 #E8B1B3
Accessibility & contrast
On white
4.28
#CC5257 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#CC5257 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5257
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5257 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5257 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706A56
Deuteranopia (green-blind)
#8F8454
Tritanopia (blue-blind)
#DF3C55
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc5257; /* rgb */ color: rgb(204, 82, 87); /* oklch */ color: oklch(59.9% 0.155 20.6);
Tailwind
colors: {
custom: {
50: '#e18786',
500: '#cc5257',
950: '#000000',
},
}SCSS
$custom: #cc5257; $custom-light: #e18786; $custom-dark: #000000;
JSON
{
"hex": "#cc5257",
"rgb": {
"r": 204,
"g": 82,
"b": 87
},
"hsl": {
"h": 357.541,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.59934,
"c": 0.15527,
"h": 20.6
},
"luminance": 0.1956
}Semantic roles & 50–950 ramp
primary
#CC5257
secondary
#A4D6D4
accent
#DED84A
background
#FEF8F8
surface
#FDF0EF
border
#D5CBCA
text
#160C0B
muted
#847D7C