#CA5040#CA5040
#CA5040 is a mid, vivid red. Relative luminance 0.187; OKLCH L 59.0% C 0.159 H 30.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CA5040 |
|---|---|
| RGB | rgb(202, 80, 64) |
| HSL | hsl(7, 57%, 52%) |
| HSV | hsv(7, 68%, 79%) |
| CMYK | cmyk(0%, 60.4%, 68.3%, 20.8%) |
| CIE-LAB | lab(50.30, 47.54, 34.30) |
| CIE-LCH | lch(50.30, 58.62, 35.81°) |
| OKLab | oklab(58.97% 0.1374 0.0794) |
| OKLCH | oklch(58.97% 0.159 30) |
| XYZ | xyz(28.1540, 18.6678, 6.9702) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 3.94
Dark Salmon
#C85A53
ΔE00 4.30
Pale Red
#D9544D
ΔE00 4.33
Reddish
#C44240
ΔE00 4.75
Faded Red
#D3494E
ΔE00 5.68
Pastel Red
#DB5856
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA5040 #40BACA
analogous
#CA4075 #CA5040 #CA9540
triadic
#CA5040 #40CA50 #5040CA
tetradic
#CA5040 #75CA40 #40BACA #9540CA
square
#CA5040 #75CA40 #40BACA #9540CA
split-complementary
#CA5040 #40CA95 #4075CA
monochromatic
#70291F #A03A2C #CA5040 #D77C70 #E5A8A0
Accessibility & contrast
On white
4.44
#CA5040 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#CA5040 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA5040
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA5040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA5040 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71673E
Deuteranopia (green-blind)
#8F823D
Tritanopia (blue-blind)
#DD354D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ca5040; /* rgb */ color: rgb(202, 80, 64); /* oklch */ color: oklch(59.0% 0.159 30.0);
Tailwind
colors: {
custom: {
50: '#e18675',
500: '#ca5040',
950: '#000000',
},
}SCSS
$custom: #ca5040; $custom-light: #e18675; $custom-dark: #000000;
JSON
{
"hex": "#ca5040",
"rgb": {
"r": 202,
"g": 80,
"b": 64
},
"hsl": {
"h": 6.957,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.58965,
"c": 0.1587,
"h": 30
},
"luminance": 0.18664
}Semantic roles & 50–950 ramp
primary
#CA5040
secondary
#95CAD1
accent
#CEE048
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B