#CA5240#CA5240
#CA5240 is a mid, vivid red. Relative luminance 0.190; OKLCH L 59.2% C 0.157 H 30.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CA5240 |
|---|---|
| RGB | rgb(202, 82, 64) |
| HSL | hsl(8, 57%, 52%) |
| HSV | hsv(8, 68%, 79%) |
| CMYK | cmyk(0%, 59.4%, 68.3%, 20.8%) |
| CIE-LAB | lab(50.65, 46.62, 34.71) |
| CIE-LCH | lch(50.65, 58.12, 36.67°) |
| OKLab | oklab(59.23% 0.1345 0.0803) |
| OKLCH | oklch(59.23% 0.157 30.8) |
| XYZ | xyz(28.3026, 18.9651, 7.0198) |
| Luminance | 0.1896 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 4.31
Pale Red
#D9544D
ΔE00 4.46
Dark Salmon
#C85A53
ΔE00 4.48
Reddish
#C44240
ΔE00 5.39
Faded Red
#D3494E
ΔE00 6.20
Pastel Red
#DB5856
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA5240 #40B8CA
analogous
#CA4073 #CA5240 #CA9740
triadic
#CA5240 #40CA52 #5240CA
tetradic
#CA5240 #73CA40 #40B8CA #9740CA
square
#CA5240 #73CA40 #40B8CA #9740CA
split-complementary
#CA5240 #40CA97 #4073CA
monochromatic
#702A1F #A03C2C #CA5240 #D77D70 #E5A9A0
Accessibility & contrast
On white
4.38
#CA5240 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#CA5240 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CA5240
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA5240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CA5240 | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72683E
Deuteranopia (green-blind)
#90823D
Tritanopia (blue-blind)
#DD384E
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #ca5240; /* rgb */ color: rgb(202, 82, 64); /* oklch */ color: oklch(59.2% 0.157 30.8);
Tailwind
colors: {
custom: {
50: '#e18775',
500: '#ca5240',
950: '#000000',
},
}SCSS
$custom: #ca5240; $custom-light: #e18775; $custom-dark: #000000;
JSON
{
"hex": "#ca5240",
"rgb": {
"r": 202,
"g": 82,
"b": 64
},
"hsl": {
"h": 7.826,
"s": 56.557,
"l": 52.157
},
"oklch": {
"l": 0.59229,
"c": 0.15667,
"h": 30.8
},
"luminance": 0.18961
}Semantic roles & 50–950 ramp
primary
#CA5240
secondary
#95C9D1
accent
#CCE048
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C08
muted
#857D7B