#C5312C#C5312C
#C5312C is a mid, vivid red. Relative luminance 0.142; OKLCH L 54.4% C 0.186 H 27.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C5312C |
|---|---|
| RGB | rgb(197, 49, 44) |
| HSL | hsl(2, 63%, 47%) |
| HSV | hsv(2, 78%, 77%) |
| CMYK | cmyk(0%, 75.1%, 77.7%, 22.7%) |
| CIE-LAB | lab(44.59, 57.39, 38.89) |
| CIE-LCH | lch(44.59, 69.32, 34.12°) |
| OKLab | oklab(54.45% 0.1648 0.0853) |
| OKLCH | oklch(54.45% 0.186 27.4) |
| XYZ | xyz(24.5818, 14.2527, 3.8391) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.18
Dull Red
#BB3F3F
ΔE00 4.48
Scarlet
#BE0119
ΔE00 4.91
Firebrick
#B22222
ΔE00 4.97
Cherry (survey)
#CF0234
ΔE00 5.87
Cardinal
#C41E3A
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5312C #2CC0C5
analogous
#C52C73 #C5312C #C57E2C
triadic
#C5312C #2CC531 #312CC5
tetradic
#C5312C #73C52C #2CC0C5 #7E2CC5
square
#C5312C #73C52C #2CC0C5 #7E2CC5
split-complementary
#C5312C #2CC57E #2C73C5
monochromatic
#611816 #932521 #C5312C #D95955 #E48A87
Accessibility & contrast
On white
5.45
#C5312C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#C5312C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5312C
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5312C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5312C | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E552A
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#D90032
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #c5312c; /* rgb */ color: rgb(197, 49, 44); /* oklch */ color: oklch(54.4% 0.186 27.4);
Tailwind
colors: {
custom: {
50: '#e07566',
500: '#c5312c',
950: '#000000',
},
}SCSS
$custom: #c5312c; $custom-light: #e07566; $custom-dark: #000000;
JSON
{
"hex": "#c5312c",
"rgb": {
"r": 197,
"g": 49,
"b": 44
},
"hsl": {
"h": 1.961,
"s": 63.485,
"l": 47.255
},
"oklch": {
"l": 0.54447,
"c": 0.18561,
"h": 27.4
},
"luminance": 0.14249
}Semantic roles & 50–950 ramp
primary
#C5312C
secondary
#7FCBCE
accent
#E1E741
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170906
muted
#857B7A