#CA3940#CA3940
#CA3940 is a mid, vivid red. Relative luminance 0.159; OKLCH L 56.3% C 0.181 H 22.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #CA3940 |
|---|---|
| RGB | rgb(202, 57, 64) |
| HSL | hsl(357, 58%, 51%) |
| HSV | hsv(357, 72%, 79%) |
| CMYK | cmyk(0%, 71.8%, 68.3%, 20.8%) |
| CIE-LAB | lab(46.79, 57.03, 30.08) |
| CIE-LCH | lch(46.79, 64.48, 27.81°) |
| OKLab | oklab(56.33% 0.1673 0.0701) |
| OKLCH | oklch(56.33% 0.181 22.7) |
| XYZ | xyz(26.7486, 15.8570, 6.5017) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 1.95
Dull Red
#BB3F3F
ΔE00 2.81
Crimson
#DC143C
ΔE00 3.69
Faded Red
#D3494E
ΔE00 4.25
Cherry (survey)
#CF0234
ΔE00 4.43
Dusty Red
#B9484E
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA3940 #39CAC3
analogous
#CA3989 #CA3940 #CA7A39
triadic
#CA3940 #40CA39 #3940CA
tetradic
#CA3940 #89CA39 #39CAC3 #7A39CA
square
#CA3940 #89CA39 #39CAC3 #7A39CA
split-complementary
#CA3940 #39CA7A #3989CA
monochromatic
#6C1D21 #9C2A2F #CA3940 #D7696F #E49A9D
Accessibility & contrast
On white
5.04
#CA3940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#CA3940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA3940
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA3940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA3940 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625B3F
Deuteranopia (green-blind)
#877A3B
Tritanopia (blue-blind)
#DE003D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ca3940; /* rgb */ color: rgb(202, 57, 64); /* oklch */ color: oklch(56.3% 0.181 22.7);
Tailwind
colors: {
custom: {
50: '#e27a75',
500: '#ca3940',
950: '#000000',
},
}SCSS
$custom: #ca3940; $custom-light: #e27a75; $custom-dark: #000000;
JSON
{
"hex": "#ca3940",
"rgb": {
"r": 202,
"g": 57,
"b": 64
},
"hsl": {
"h": 357.103,
"s": 57.769,
"l": 50.784
},
"oklch": {
"l": 0.56333,
"c": 0.1814,
"h": 22.7
},
"luminance": 0.15853
}Semantic roles & 50–950 ramp
primary
#CA3940
secondary
#8FD0CC
accent
#E1DA47
background
#FFF7F7
surface
#FEEEED
border
#D6C9C8
text
#170A08
muted
#857C7B