#CA402A#CA402A
#CA402A is a mid, vivid red. Relative luminance 0.164; OKLCH L 56.8% C 0.178 H 31.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CA402A |
|---|---|
| RGB | rgb(202, 64, 42) |
| HSL | hsl(8, 66%, 48%) |
| HSV | hsv(8, 79%, 79%) |
| CMYK | cmyk(0%, 68.3%, 79.2%, 20.8%) |
| CIE-LAB | lab(47.49, 53.45, 43.24) |
| CIE-LCH | lch(47.49, 68.74, 38.97°) |
| OKLab | oklab(56.77% 0.1516 0.0938) |
| OKLCH | oklch(56.77% 0.178 31.8) |
| XYZ | xyz(26.6115, 16.3945, 3.9533) |
| Luminance | 0.1639 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red (survey)
#E50000
ΔE00 5.92
Reddish
#C44240
ΔE00 6.12
Rust
#B7410E
ΔE00 7.24
Tomato Red
#EC2D01
ΔE00 7.36
Dull Red
#BB3F3F
ΔE00 7.37
Tomato (survey)
#EF4026
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA402A #2AB4CA
analogous
#CA2A64 #CA402A #CA902A
triadic
#CA402A #2ACA40 #402ACA
tetradic
#CA402A #64CA2A #2AB4CA #902ACA
square
#CA402A #64CA2A #2AB4CA #902ACA
split-complementary
#CA402A #2ACA90 #2A64CA
monochromatic
#652015 #97301F #CA402A #DC6855 #E69588
Accessibility & contrast
On white
4.91
#CA402A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#CA402A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA402A
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA402A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA402A | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685D26
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#DE0F3C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ca402a; /* rgb */ color: rgb(202, 64, 42); /* oklch */ color: oklch(56.8% 0.178 31.8);
Tailwind
colors: {
custom: {
50: '#e37d65',
500: '#ca402a',
950: '#000000',
},
}SCSS
$custom: #ca402a; $custom-light: #e37d65; $custom-dark: #000000;
JSON
{
"hex": "#ca402a",
"rgb": {
"r": 202,
"g": 64,
"b": 42
},
"hsl": {
"h": 8.25,
"s": 65.574,
"l": 47.843
},
"oklch": {
"l": 0.56773,
"c": 0.17825,
"h": 31.8
},
"luminance": 0.16391
}Semantic roles & 50–950 ramp
primary
#CA402A
secondary
#80C5D0
accent
#D1E93F
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#170A06
muted
#857C7A