#C5313E#C5313E
#C5313E is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.7% C 0.184 H 21.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C5313E |
|---|---|
| RGB | rgb(197, 49, 62) |
| HSL | hsl(355, 60%, 48%) |
| HSV | hsv(355, 75%, 77%) |
| CMYK | cmyk(0%, 75.1%, 68.5%, 22.7%) |
| CIE-LAB | lab(44.83, 58.16, 28.67) |
| CIE-LCH | lch(44.83, 64.84, 26.24°) |
| OKLab | oklab(54.7% 0.1711 0.0669) |
| OKLCH | oklch(54.7% 0.184 21.3) |
| XYZ | xyz(24.9965, 14.4185, 6.0234) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.51
Dull Red
#BB3F3F
ΔE00 2.73
Cherry (survey)
#CF0234
ΔE00 3.13
Reddish
#C44240
ΔE00 3.47
Crimson
#DC143C
ΔE00 3.91
Dusty Red
#B9484E
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5313E #31C5B8
analogous
#C53188 #C5313E #C56E31
triadic
#C5313E #3EC531 #313EC5
tetradic
#C5313E #88C531 #31C5B8 #6E31C5
square
#C5313E #88C531 #31C5B8 #6E31C5
split-complementary
#C5313E #31C56E #3188C5
monochromatic
#63191F #94252F #C5313E #D75D67 #E38E95
Accessibility & contrast
On white
5.41
#C5313E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#C5313E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5313E
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5313E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5313E | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C563D
Deuteranopia (green-blind)
#817539
Tritanopia (blue-blind)
#D80037
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c5313e; /* rgb */ color: rgb(197, 49, 62); /* oklch */ color: oklch(54.7% 0.184 21.3);
Tailwind
colors: {
custom: {
50: '#df7573',
500: '#c5313e',
950: '#000000',
},
}SCSS
$custom: #c5313e; $custom-light: #df7573; $custom-dark: #000000;
JSON
{
"hex": "#c5313e",
"rgb": {
"r": 197,
"g": 49,
"b": 62
},
"hsl": {
"h": 354.73,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.54696,
"c": 0.18372,
"h": 21.3
},
"luminance": 0.14415
}Semantic roles & 50–950 ramp
primary
#C5313E
secondary
#85CDC7
accent
#E3D544
background
#FEF7F6
surface
#FDEEEC
border
#D5C9C7
text
#170908
muted
#857B7B