#CC5742#CC5742
#CC5742 is a mid, vivid red. Relative luminance 0.200; OKLCH L 60.2% C 0.153 H 32.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5742 |
|---|---|
| RGB | rgb(204, 87, 66) |
| HSL | hsl(9, 58%, 53%) |
| HSV | hsv(9, 68%, 80%) |
| CMYK | cmyk(0%, 57.4%, 67.6%, 20%) |
| CIE-LAB | lab(51.89, 45.10, 35.15) |
| CIE-LCH | lch(51.89, 57.18, 37.93°) |
| OKLab | oklab(60.24% 0.13 0.0815) |
| OKLCH | oklch(60.24% 0.153 32.1) |
| XYZ | xyz(29.2962, 20.0509, 7.4807) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pale Red
#D9544D
ΔE00 4.49
Dark Salmon
#C85A53
ΔE00 4.76
Dark Coral
#CF524E
ΔE00 4.93
Terracotta (survey)
#CA6641
ΔE00 5.86
Terracota
#CB6843
ΔE00 6.22
Pastel Red
#DB5856
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5742 #42B7CC
analogous
#CC4272 #CC5742 #CC9C42
triadic
#CC5742 #42CC57 #5742CC
tetradic
#CC5742 #72CC42 #42B7CC #9C42CC
square
#CC5742 #72CC42 #42B7CC #9C42CC
split-complementary
#CC5742 #42CC9C #4272CC
monochromatic
#742C1F #A43F2C #CC5742 #D98272 #E6ADA2
Accessibility & contrast
On white
4.19
#CC5742 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#CC5742 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5742
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5742 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5742 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766C3F
Deuteranopia (green-blind)
#93853F
Tritanopia (blue-blind)
#DF3F52
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cc5742; /* rgb */ color: rgb(204, 87, 66); /* oklch */ color: oklch(60.2% 0.153 32.1);
Tailwind
colors: {
custom: {
50: '#e28a77',
500: '#cc5742',
950: '#000000',
},
}SCSS
$custom: #cc5742; $custom-light: #e28a77; $custom-dark: #000000;
JSON
{
"hex": "#cc5742",
"rgb": {
"r": 204,
"g": 87,
"b": 66
},
"hsl": {
"h": 9.13,
"s": 57.5,
"l": 52.941
},
"oklch": {
"l": 0.60244,
"c": 0.1534,
"h": 32.1
},
"luminance": 0.20047
}Semantic roles & 50–950 ramp
primary
#CC5742
secondary
#97CAD3
accent
#C9E147
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B