#CD402C#CD402C
#CD402C is a mid, vivid red. Relative luminance 0.168; OKLCH L 57.3% C 0.181 H 31.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CD402C |
|---|---|
| RGB | rgb(205, 64, 44) |
| HSL | hsl(7, 65%, 49%) |
| HSV | hsv(7, 79%, 80%) |
| CMYK | cmyk(0%, 68.8%, 78.5%, 19.6%) |
| CIE-LAB | lab(48.05, 54.51, 42.93) |
| CIE-LCH | lch(48.05, 69.38, 38.23°) |
| OKLab | oklab(57.3% 0.1549 0.0935) |
| OKLCH | oklch(57.3% 0.181 31.1) |
| XYZ | xyz(27.4680, 16.8319, 4.1849) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 5.82
Red (survey)
#E50000
ΔE00 5.87
Tomato (survey)
#EF4026
ΔE00 7.07
Tomato Red
#EC2D01
ΔE00 7.20
Dull Red
#BB3F3F
ΔE00 7.26
Dark Coral
#CF524E
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD402C #2CB9CD
analogous
#CD2C69 #CD402C #CD912C
triadic
#CD402C #2CCD40 #402CCD
tetradic
#CD402C #69CD2C #2CB9CD #912CCD
square
#CD402C #69CD2C #2CB9CD #912CCD
split-complementary
#CD402C #2CCD91 #2C69CD
monochromatic
#682116 #9B3021 #CD402C #DC6B5B #E7988D
Accessibility & contrast
On white
4.81
#CD402C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#CD402C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CD402C
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD402C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CD402C | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E28
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#E20C3D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #cd402c; /* rgb */ color: rgb(205, 64, 44); /* oklch */ color: oklch(57.3% 0.181 31.1);
Tailwind
colors: {
custom: {
50: '#e57d67',
500: '#cd402c',
950: '#000000',
},
}SCSS
$custom: #cd402c; $custom-light: #e57d67; $custom-dark: #000000;
JSON
{
"hex": "#cd402c",
"rgb": {
"r": 205,
"g": 64,
"b": 44
},
"hsl": {
"h": 7.453,
"s": 64.659,
"l": 48.824
},
"oklch": {
"l": 0.57298,
"c": 0.18096,
"h": 31.1
},
"luminance": 0.16828
}Semantic roles & 50–950 ramp
primary
#CD402C
secondary
#84C7D1
accent
#D3E840
background
#FFF8F6
surface
#FFEFEB
border
#D7CAC6
text
#180A06
muted
#867C7A