#C5313B#C5313B
#C5313B is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.6% C 0.184 H 22.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C5313B |
|---|---|
| RGB | rgb(197, 49, 59) |
| HSL | hsl(356, 60%, 48%) |
| HSV | hsv(356, 75%, 77%) |
| CMYK | cmyk(0%, 75.1%, 70.1%, 22.7%) |
| CIE-LAB | lab(44.78, 58.01, 30.41) |
| CIE-LCH | lch(44.78, 65.50, 27.67°) |
| OKLab | oklab(54.65% 0.17 0.0702) |
| OKLCH | oklch(54.65% 0.184 22.4) |
| XYZ | xyz(24.9165, 14.3865, 5.6017) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.44
Cardinal
#C41E3A
ΔE00 2.95
Reddish
#C44240
ΔE00 3.04
Cherry (survey)
#CF0234
ΔE00 3.16
Crimson
#DC143C
ΔE00 4.04
Lipstick Red
#C0022F
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5313B #31C5BB
analogous
#C53185 #C5313B #C57131
triadic
#C5313B #3BC531 #313BC5
tetradic
#C5313B #85C531 #31C5BB #7131C5
square
#C5313B #85C531 #31C5BB #7131C5
split-complementary
#C5313B #31C571 #3185C5
monochromatic
#63191E #94252C #C5313B #D75D65 #E38E93
Accessibility & contrast
On white
5.42
#C5313B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#C5313B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5313B
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5313B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5313B | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D563A
Deuteranopia (green-blind)
#827536
Tritanopia (blue-blind)
#D90036
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c5313b; /* rgb */ color: rgb(197, 49, 59); /* oklch */ color: oklch(54.6% 0.184 22.4);
Tailwind
colors: {
custom: {
50: '#df7571',
500: '#c5313b',
950: '#000000',
},
}SCSS
$custom: #c5313b; $custom-light: #df7571; $custom-dark: #000000;
JSON
{
"hex": "#c5313b",
"rgb": {
"r": 197,
"g": 49,
"b": 59
},
"hsl": {
"h": 355.946,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.54648,
"c": 0.18395,
"h": 22.4
},
"luminance": 0.14383
}Semantic roles & 50–950 ramp
primary
#C5313B
secondary
#85CDC8
accent
#E3D944
background
#FEF7F6
surface
#FDEEEC
border
#D5C9C7
text
#170907
muted
#857B7A