#CC5342#CC5342
#CC5342 is a mid, vivid red. Relative luminance 0.194; OKLCH L 59.7% C 0.157 H 30.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5342 |
|---|---|
| RGB | rgb(204, 83, 66) |
| HSL | hsl(7, 58%, 53%) |
| HSV | hsv(7, 68%, 80%) |
| CMYK | cmyk(0%, 59.3%, 67.6%, 20%) |
| CIE-LAB | lab(51.18, 46.98, 34.29) |
| CIE-LCH | lch(51.18, 58.17, 36.13°) |
| OKLab | oklab(59.7% 0.1358 0.0796) |
| OKLCH | oklch(59.7% 0.157 30.4) |
| XYZ | xyz(28.9813, 19.4211, 7.3757) |
| Luminance | 0.1942 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pale Red
#D9544D
ΔE00 3.86
Dark Coral
#CF524E
ΔE00 3.89
Dark Salmon
#C85A53
ΔE00 4.09
Reddish
#C44240
ΔE00 5.54
Pastel Red
#DB5856
ΔE00 5.78
Faded Red
#D3494E
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5342 #42BBCC
analogous
#CC4276 #CC5342 #CC9842
triadic
#CC5342 #42CC53 #5342CC
tetradic
#CC5342 #76CC42 #42BBCC #9842CC
square
#CC5342 #76CC42 #42BBCC #9842CC
split-complementary
#CC5342 #42CC98 #4276CC
monochromatic
#742A1F #A43B2C #CC5342 #D97F72 #E6ABA2
Accessibility & contrast
On white
4.30
#CC5342 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#CC5342 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5342
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5342 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5342 | 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)
#736940
Deuteranopia (green-blind)
#91843F
Tritanopia (blue-blind)
#E03950
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc5342; /* rgb */ color: rgb(204, 83, 66); /* oklch */ color: oklch(59.7% 0.157 30.4);
Tailwind
colors: {
custom: {
50: '#e28877',
500: '#cc5342',
950: '#000000',
},
}SCSS
$custom: #cc5342; $custom-light: #e28877; $custom-dark: #000000;
JSON
{
"hex": "#cc5342",
"rgb": {
"r": 204,
"g": 83,
"b": 66
},
"hsl": {
"h": 7.391,
"s": 57.5,
"l": 52.941
},
"oklch": {
"l": 0.59701,
"c": 0.15744,
"h": 30.4
},
"luminance": 0.19417
}Semantic roles & 50–950 ramp
primary
#CC5342
secondary
#97CBD3
accent
#CEE147
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B