#CC4940#CC4940
#CC4940 is a mid, vivid red. Relative luminance 0.180; OKLCH L 58.4% C 0.168 H 27.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4940 |
|---|---|
| RGB | rgb(204, 73, 64) |
| HSL | hsl(4, 58%, 53%) |
| HSV | hsv(4, 69%, 80%) |
| CMYK | cmyk(0%, 64.2%, 68.6%, 20%) |
| CIE-LAB | lab(49.47, 51.34, 33.39) |
| CIE-LCH | lch(49.47, 61.25, 33.04°) |
| OKLab | oklab(58.4% 0.1491 0.0773) |
| OKLCH | oklch(58.4% 0.168 27.4) |
| XYZ | xyz(28.2127, 17.9766, 6.8337) |
| Luminance | 0.1797 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.03
Dark Coral
#CF524E
ΔE00 3.22
Faded Red
#D3494E
ΔE00 4.20
Pale Red
#D9544D
ΔE00 4.27
Dark Salmon
#C85A53
ΔE00 4.34
Dull Red
#BB3F3F
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4940 #40C3CC
analogous
#CC407D #CC4940 #CC8F40
triadic
#CC4940 #40CC49 #4940CC
tetradic
#CC4940 #7DCC40 #40C3CC #8F40CC
square
#CC4940 #7DCC40 #40C3CC #8F40CC
split-complementary
#CC4940 #40CC8F #407DCC
monochromatic
#73241F #A3332C #CC4940 #D97770 #E6A5A1
Accessibility & contrast
On white
4.57
#CC4940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#CC4940 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4940
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4940 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4940 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D643E
Deuteranopia (green-blind)
#8D803C
Tritanopia (blue-blind)
#E02948
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #cc4940; /* rgb */ color: rgb(204, 73, 64); /* oklch */ color: oklch(58.4% 0.168 27.4);
Tailwind
colors: {
custom: {
50: '#e38275',
500: '#cc4940',
950: '#000000',
},
}SCSS
$custom: #cc4940; $custom-light: #e38275; $custom-dark: #000000;
JSON
{
"hex": "#cc4940",
"rgb": {
"r": 204,
"g": 73,
"b": 64
},
"hsl": {
"h": 3.857,
"s": 57.851,
"l": 52.549
},
"oklch": {
"l": 0.58405,
"c": 0.16796,
"h": 27.4
},
"luminance": 0.17973
}Semantic roles & 50–950 ramp
primary
#CC4940
secondary
#95CED2
accent
#D7E147
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170B08
muted
#857C7B