#CA5242#CA5242
#CA5242 is a mid, vivid red. Relative luminance 0.190; OKLCH L 59.3% C 0.156 H 30.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CA5242 |
|---|---|
| RGB | rgb(202, 82, 66) |
| HSL | hsl(7, 56%, 53%) |
| HSV | hsv(7, 67%, 79%) |
| CMYK | cmyk(0%, 59.4%, 67.3%, 20.8%) |
| CIE-LAB | lab(50.67, 46.73, 33.61) |
| CIE-LCH | lch(50.67, 57.56, 35.73°) |
| OKLab | oklab(59.26% 0.1353 0.0782) |
| OKLCH | oklch(59.26% 0.156 30) |
| XYZ | xyz(28.3606, 18.9883, 7.3249) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 3.73
Dark Salmon
#C85A53
ΔE00 3.95
Pale Red
#D9544D
ΔE00 4.05
Reddish
#C44240
ΔE00 5.00
Faded Red
#D3494E
ΔE00 5.62
Pastel Red
#DB5856
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA5242 #42BACA
analogous
#CA4276 #CA5242 #CA9642
triadic
#CA5242 #42CA52 #5242CA
tetradic
#CA5242 #76CA42 #42BACA #9642CA
square
#CA5242 #76CA42 #42BACA #9642CA
split-complementary
#CA5242 #42CA96 #4276CA
monochromatic
#722A20 #A23B2D #CA5242 #D77E72 #E5AAA2
Accessibility & contrast
On white
4.38
#CA5242 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#CA5242 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA5242
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA5242 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA5242 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726840
Deuteranopia (green-blind)
#90823F
Tritanopia (blue-blind)
#DD394F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #ca5242; /* rgb */ color: rgb(202, 82, 66); /* oklch */ color: oklch(59.3% 0.156 30.0);
Tailwind
colors: {
custom: {
50: '#e18777',
500: '#ca5242',
950: '#000000',
},
}SCSS
$custom: #ca5242; $custom-light: #e18777; $custom-dark: #000000;
JSON
{
"hex": "#ca5242",
"rgb": {
"r": 202,
"g": 82,
"b": 66
},
"hsl": {
"h": 7.059,
"s": 56.198,
"l": 52.549
},
"oklch": {
"l": 0.59258,
"c": 0.15623,
"h": 30
},
"luminance": 0.18984
}Semantic roles & 50–950 ramp
primary
#CA5242
secondary
#96CAD1
accent
#CEDF48
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B