#CA2F31#CA2F31
#CA2F31 is a mid, vivid red. Relative luminance 0.148; OKLCH L 55.2% C 0.191 H 25.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #CA2F31 |
|---|---|
| RGB | rgb(202, 47, 49) |
| HSL | hsl(359, 62%, 49%) |
| HSV | hsv(359, 77%, 79%) |
| CMYK | cmyk(0%, 76.7%, 75.7%, 20.8%) |
| CIE-LAB | lab(45.38, 59.72, 37.20) |
| CIE-LCH | lch(45.38, 70.36, 31.92°) |
| OKLab | oklab(55.22% 0.1726 0.0827) |
| OKLCH | oklch(55.22% 0.191 25.6) |
| XYZ | xyz(25.9311, 14.8154, 4.3994) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.30
Dull Red
#BB3F3F
ΔE00 3.89
Cherry (survey)
#CF0234
ΔE00 4.61
Crimson
#DC143C
ΔE00 5.07
Cardinal
#C41E3A
ΔE00 5.51
Scarlet
#BE0119
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA2F31 #2FCAC8
analogous
#CA2F7F #CA2F31 #CA7B2F
triadic
#CA2F31 #31CA2F #2F31CA
tetradic
#CA2F31 #7FCA2F #2FCAC8 #7B2FCA
square
#CA2F31 #7FCA2F #2FCAC8 #7B2FCA
split-complementary
#CA2F31 #2FCA7B #2F7FCA
monochromatic
#671819 #982325 #CA2F31 #D95D5F #E58F90
Accessibility & contrast
On white
5.30
#CA2F31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#CA2F31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA2F31
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA2F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA2F31 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562F
Deuteranopia (green-blind)
#85772B
Tritanopia (blue-blind)
#DE0032
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ca2f31; /* rgb */ color: rgb(202, 47, 49); /* oklch */ color: oklch(55.2% 0.191 25.6);
Tailwind
colors: {
custom: {
50: '#e37569',
500: '#ca2f31',
950: '#000000',
},
}SCSS
$custom: #ca2f31; $custom-light: #e37569; $custom-dark: #000000;
JSON
{
"hex": "#ca2f31",
"rgb": {
"r": 202,
"g": 47,
"b": 49
},
"hsl": {
"h": 359.226,
"s": 62.249,
"l": 48.824
},
"oklch": {
"l": 0.55222,
"c": 0.19141,
"h": 25.6
},
"luminance": 0.14811
}Semantic roles & 50–950 ramp
primary
#CA2F31
secondary
#86CFCE
accent
#E5E342
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#170906
muted
#857B7A