#CA312F#CA312F
#CA312F is a mid, vivid red. Relative luminance 0.150; OKLCH L 55.4% C 0.190 H 26.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #CA312F |
|---|---|
| RGB | rgb(202, 49, 47) |
| HSL | hsl(1, 62%, 49%) |
| HSV | hsv(1, 77%, 79%) |
| CMYK | cmyk(0%, 75.7%, 76.7%, 20.8%) |
| CIE-LAB | lab(45.58, 59.01, 38.55) |
| CIE-LCH | lch(45.58, 70.49, 33.16°) |
| OKLab | oklab(55.37% 0.17 0.0851) |
| OKLCH | oklch(55.37% 0.19 26.6) |
| XYZ | xyz(25.9716, 14.9625, 4.2093) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.58
Dull Red
#BB3F3F
ΔE00 4.35
Cherry (survey)
#CF0234
ΔE00 5.43
Scarlet
#BE0119
ΔE00 5.73
Crimson
#DC143C
ΔE00 5.78
Firebrick
#B22222
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CA312F #2FC8CA
analogous
#CA2F7B #CA312F #CA7F2F
triadic
#CA312F #2FCA31 #312FCA
tetradic
#CA312F #7BCA2F #2FC8CA #7F2FCA
square
#CA312F #7BCA2F #2FC8CA #7F2FCA
split-complementary
#CA312F #2FCA7F #2F7BCA
monochromatic
#671918 #982523 #CA312F #D95F5D #E5908F
Accessibility & contrast
On white
5.26
#CA312F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#CA312F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CA312F
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CA312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CA312F | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60572D
Deuteranopia (green-blind)
#867829
Tritanopia (blue-blind)
#DE0033
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ca312f; /* rgb */ color: rgb(202, 49, 47); /* oklch */ color: oklch(55.4% 0.190 26.6);
Tailwind
colors: {
custom: {
50: '#e37668',
500: '#ca312f',
950: '#000000',
},
}SCSS
$custom: #ca312f; $custom-light: #e37668; $custom-dark: #000000;
JSON
{
"hex": "#ca312f",
"rgb": {
"r": 202,
"g": 49,
"b": 47
},
"hsl": {
"h": 0.774,
"s": 62.249,
"l": 48.824
},
"oklch": {
"l": 0.55366,
"c": 0.19009,
"h": 26.6
},
"luminance": 0.14958
}Semantic roles & 50–950 ramp
primary
#CA312F
secondary
#86CECF
accent
#E3E542
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#170906
muted
#857B7A