#CC5152#CC5152
#CC5152 is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.7% C 0.157 H 22.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5152 |
|---|---|
| RGB | rgb(204, 81, 82) |
| HSL | hsl(360, 55%, 56%) |
| HSV | hsv(360, 60%, 80%) |
| CMYK | cmyk(0%, 60.3%, 59.8%, 20%) |
| CIE-LAB | lab(51.08, 48.91, 24.92) |
| CIE-LCH | lch(51.08, 54.89, 27.00°) |
| OKLab | oklab(59.71% 0.1448 0.0604) |
| OKLCH | oklch(59.71% 0.157 22.6) |
| XYZ | xyz(29.3699, 19.3352, 10.1665) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Faded Red
#D3494E
ΔE00 1.70
Dark Coral
#CF524E
ΔE00 1.76
Dark Salmon
#C85A53
ΔE00 2.59
Indianred
#CD5C5C
ΔE00 2.74
Pastel Red
#DB5856
ΔE00 3.84
Pale Red
#D9544D
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5152 #51CCCB
analogous
#CC518F #CC5152 #CC8D51
triadic
#CC5152 #52CC51 #5152CC
tetradic
#CC5152 #8FCC51 #51CCCB #8D51CC
square
#CC5152 #8FCC51 #51CCCB #8D51CC
split-complementary
#CC5152 #51CC8D #518FCC
monochromatic
#7E2526 #AD3334 #CC5152 #DA8081 #E8B0B0
Accessibility & contrast
On white
4.32
#CC5152 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#CC5152 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5152
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5152 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5152 | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706951
Deuteranopia (green-blind)
#8F834F
Tritanopia (blue-blind)
#DF3A52
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc5152; /* rgb */ color: rgb(204, 81, 82); /* oklch */ color: oklch(59.7% 0.157 22.6);
Tailwind
colors: {
custom: {
50: '#e28782',
500: '#cc5152',
950: '#000000',
},
}SCSS
$custom: #cc5152; $custom-light: #e28782; $custom-dark: #000000;
JSON
{
"hex": "#cc5152",
"rgb": {
"r": 204,
"g": 81,
"b": 82
},
"hsl": {
"h": 359.512,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.59706,
"c": 0.15688,
"h": 22.6
},
"luminance": 0.19331
}Semantic roles & 50–950 ramp
primary
#CC5152
secondary
#A3D6D5
accent
#DEDD4A
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C