#C5312F#C5312F
#C5312F is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.5% C 0.185 H 26.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #C5312F |
|---|---|
| RGB | rgb(197, 49, 47) |
| HSL | hsl(1, 61%, 48%) |
| HSV | hsv(1, 76%, 77%) |
| CMYK | cmyk(0%, 75.1%, 76.1%, 22.7%) |
| CIE-LAB | lab(44.63, 57.50, 37.24) |
| CIE-LCH | lch(44.63, 68.50, 32.93°) |
| OKLab | oklab(54.48% 0.1658 0.0826) |
| OKLCH | oklch(54.48% 0.185 26.5) |
| XYZ | xyz(24.6403, 14.2760, 4.1469) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.62
Dull Red
#BB3F3F
ΔE00 3.83
Firebrick
#B22222
ΔE00 5.03
Scarlet
#BE0119
ΔE00 5.10
Cherry (survey)
#CF0234
ΔE00 5.17
Cardinal
#C41E3A
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5312F #2FC3C5
analogous
#C52F78 #C5312F #C57C2F
triadic
#C5312F #2FC531 #312FC5
tetradic
#C5312F #78C52F #2FC3C5 #7C2FC5
square
#C5312F #78C52F #2FC3C5 #7C2FC5
split-complementary
#C5312F #2FC57C #2F78C5
monochromatic
#621817 #942523 #C5312F #D85B5A #E38C8B
Accessibility & contrast
On white
5.45
#C5312F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#C5312F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5312F
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5312F | 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)
#5E552D
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#D90033
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c5312f; /* rgb */ color: rgb(197, 49, 47); /* oklch */ color: oklch(54.5% 0.185 26.5);
Tailwind
colors: {
custom: {
50: '#e07568',
500: '#c5312f',
950: '#000000',
},
}SCSS
$custom: #c5312f; $custom-light: #e07568; $custom-dark: #000000;
JSON
{
"hex": "#c5312f",
"rgb": {
"r": 197,
"g": 49,
"b": 47
},
"hsl": {
"h": 0.8,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.54482,
"c": 0.18523,
"h": 26.5
},
"luminance": 0.14272
}Semantic roles & 50–950 ramp
primary
#C5312F
secondary
#82CCCD
accent
#E2E543
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170906
muted
#857B7A