#CA5042#CA5042
#CA5042 is a mid, vivid red. Relative luminance 0.187; OKLCH L 59.0% C 0.158 H 29.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CA5042 |
|---|---|
| RGB | rgb(202, 80, 66) |
| HSL | hsl(6, 56%, 53%) |
| HSV | hsv(6, 67%, 79%) |
| CMYK | cmyk(0%, 60.4%, 67.3%, 20.8%) |
| CIE-LAB | lab(50.32, 47.65, 33.19) |
| CIE-LCH | lch(50.32, 58.07, 34.86°) |
| OKLab | oklab(59% 0.1382 0.0773) |
| OKLCH | oklch(59% 0.158 29.2) |
| XYZ | xyz(28.2119, 18.6910, 7.2753) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 3.37
Dark Salmon
#C85A53
ΔE00 3.82
Pale Red
#D9544D
ΔE00 3.98
Reddish
#C44240
ΔE00 4.38
Faded Red
#D3494E
ΔE00 5.11
Pastel Red
#DB5856
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA5042 #42BCCA
analogous
#CA4278 #CA5042 #CA9442
triadic
#CA5042 #42CA50 #5042CA
tetradic
#CA5042 #78CA42 #42BCCA #9442CA
square
#CA5042 #78CA42 #42BCCA #9442CA
split-complementary
#CA5042 #42CA94 #4278CA
monochromatic
#722820 #A2392D #CA5042 #D77C72 #E5A9A2
Accessibility & contrast
On white
4.43
#CA5042 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#CA5042 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA5042
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA5042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA5042 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706740
Deuteranopia (green-blind)
#8F823F
Tritanopia (blue-blind)
#DD364D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ca5042; /* rgb */ color: rgb(202, 80, 66); /* oklch */ color: oklch(59.0% 0.158 29.2);
Tailwind
colors: {
custom: {
50: '#e18677',
500: '#ca5042',
950: '#000000',
},
}SCSS
$custom: #ca5042; $custom-light: #e18677; $custom-dark: #000000;
JSON
{
"hex": "#ca5042",
"rgb": {
"r": 202,
"g": 80,
"b": 66
},
"hsl": {
"h": 6.176,
"s": 56.198,
"l": 52.549
},
"oklch": {
"l": 0.58995,
"c": 0.15829,
"h": 29.2
},
"luminance": 0.18687
}Semantic roles & 50–950 ramp
primary
#CA5042
secondary
#96CBD1
accent
#D0DF48
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170B08
muted
#857C7B