#C5313F#C5313F
#C5313F is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.7% C 0.184 H 21.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C5313F |
|---|---|
| RGB | rgb(197, 49, 63) |
| HSL | hsl(354, 60%, 48%) |
| HSV | hsv(354, 75%, 77%) |
| CMYK | cmyk(0%, 75.1%, 68%, 22.7%) |
| CIE-LAB | lab(44.84, 58.21, 28.09) |
| CIE-LCH | lch(44.84, 64.63, 25.76°) |
| OKLab | oklab(54.71% 0.1715 0.0657) |
| OKLCH | oklch(54.71% 0.184 21) |
| XYZ | xyz(25.0242, 14.4296, 6.1692) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.42
Dull Red
#BB3F3F
ΔE00 2.89
Cherry (survey)
#CF0234
ΔE00 3.18
Reddish
#C44240
ΔE00 3.65
Crimson
#DC143C
ΔE00 3.91
Dusty Red
#B9484E
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5313F #31C5B7
analogous
#C53189 #C5313F #C56D31
triadic
#C5313F #3FC531 #313FC5
tetradic
#C5313F #89C531 #31C5B7 #6D31C5
square
#C5313F #89C531 #31C5B7 #6D31C5
split-complementary
#C5313F #31C56D #3189C5
monochromatic
#631920 #94252F #C5313F #D75D68 #E38E96
Accessibility & contrast
On white
5.41
#C5313F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#C5313F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5313F
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5313F | 1.00 | 5.41 | 3.89 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C563E
Deuteranopia (green-blind)
#81753A
Tritanopia (blue-blind)
#D80038
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c5313f; /* rgb */ color: rgb(197, 49, 63); /* oklch */ color: oklch(54.7% 0.184 21.0);
Tailwind
colors: {
custom: {
50: '#df7574',
500: '#c5313f',
950: '#000000',
},
}SCSS
$custom: #c5313f; $custom-light: #df7574; $custom-dark: #000000;
JSON
{
"hex": "#c5313f",
"rgb": {
"r": 197,
"g": 49,
"b": 63
},
"hsl": {
"h": 354.324,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.54713,
"c": 0.18366,
"h": 21
},
"luminance": 0.14426
}Semantic roles & 50–950 ramp
primary
#C5313F
secondary
#85CDC6
accent
#E3D444
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#170908
muted
#857B7B