#CC5A51#CC5A51
#CC5A51 is a mid, vivid red. Relative luminance 0.207; OKLCH L 60.9% C 0.147 H 26.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5A51 |
|---|---|
| RGB | rgb(204, 90, 81) |
| HSL | hsl(4, 55%, 56%) |
| HSV | hsv(4, 60%, 80%) |
| CMYK | cmyk(0%, 55.9%, 60.3%, 20%) |
| CIE-LAB | lab(52.67, 44.61, 27.55) |
| CIE-LCH | lch(52.67, 52.43, 31.70°) |
| OKLab | oklab(60.9% 0.1311 0.0663) |
| OKLCH | oklch(60.9% 0.147 26.8) |
| XYZ | xyz(30.0459, 20.7475, 10.2054) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Salmon
#C85A53
ΔE00 1.10
Dark Coral
#CF524E
ΔE00 1.94
Pale Red
#D9544D
ΔE00 2.49
Indianred
#CD5C5C
ΔE00 3.15
Pastel Red
#DB5856
ΔE00 3.21
Faded Red
#D3494E
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5A51 #51C3CC
analogous
#CC5185 #CC5A51 #CC9751
triadic
#CC5A51 #51CC5A #5A51CC
tetradic
#CC5A51 #85CC51 #51C3CC #9751CC
square
#CC5A51 #85CC51 #51C3CC #9751CC
split-complementary
#CC5A51 #51CC97 #5185CC
monochromatic
#7E2B25 #AD3C33 #CC5A51 #DA8780 #E8B4B0
Accessibility & contrast
On white
4.08
#CC5A51 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#CC5A51 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5A51
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5A51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5A51 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766F50
Deuteranopia (green-blind)
#93874E
Tritanopia (blue-blind)
#DF4558
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cc5a51; /* rgb */ color: rgb(204, 90, 81); /* oklch */ color: oklch(60.9% 0.147 26.8);
Tailwind
colors: {
custom: {
50: '#e18c82',
500: '#cc5a51',
950: '#000000',
},
}SCSS
$custom: #cc5a51; $custom-light: #e18c82; $custom-dark: #000000;
JSON
{
"hex": "#cc5a51",
"rgb": {
"r": 204,
"g": 90,
"b": 81
},
"hsl": {
"h": 4.39,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.60904,
"c": 0.14693,
"h": 26.8
},
"luminance": 0.20744
}Semantic roles & 50–950 ramp
primary
#CC5A51
secondary
#A3D2D6
accent
#D3DE4A
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#160C0A
muted
#847D7C