#C5314F#C5314F
#C5314F is a mid, vivid red. Relative luminance 0.146; OKLCH L 55.0% C 0.184 H 14.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #C5314F |
|---|---|
| RGB | rgb(197, 49, 79) |
| HSL | hsl(348, 60%, 48%) |
| HSV | hsv(348, 75%, 77%) |
| CMYK | cmyk(0%, 75.1%, 59.9%, 22.7%) |
| CIE-LAB | lab(45.13, 59.15, 18.68) |
| CIE-LCH | lch(45.13, 62.03, 17.53°) |
| OKLab | oklab(55.02% 0.1777 0.0459) |
| OKLCH | oklch(55.02% 0.184 14.5) |
| XYZ | xyz(25.5381, 14.6352, 8.8758) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 2.82
Ruby
#CA0147
ΔE00 3.33
Dark Rose
#B5485D
ΔE00 4.88
Dusty Red
#B9484E
ΔE00 4.92
Cardinal
#C41E3A
ΔE00 4.97
Rose Red
#BE013C
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5314F #31C5A7
analogous
#C53199 #C5314F #C55D31
triadic
#C5314F #4FC531 #314FC5
tetradic
#C5314F #99C531 #31C5A7 #5D31C5
square
#C5314F #99C531 #31C5A7 #5D31C5
split-complementary
#C5314F #31C55D #3199C5
monochromatic
#631928 #94253B #C5314F #D75D75 #E38E9F
Accessibility & contrast
On white
5.35
#C5314F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#C5314F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5314F
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5314F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5314F | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A574F
Deuteranopia (green-blind)
#7F764B
Tritanopia (blue-blind)
#D8003E
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c5314f; /* rgb */ color: rgb(197, 49, 79); /* oklch */ color: oklch(55.0% 0.184 14.5);
Tailwind
colors: {
custom: {
50: '#de7680',
500: '#c5314f',
950: '#000000',
},
}SCSS
$custom: #c5314f; $custom-light: #de7680; $custom-dark: #000000;
JSON
{
"hex": "#c5314f",
"rgb": {
"r": 197,
"g": 49,
"b": 79
},
"hsl": {
"h": 347.838,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.55019,
"c": 0.18351,
"h": 14.5
},
"luminance": 0.14631
}Semantic roles & 50–950 ramp
primary
#C5314F
secondary
#85CDBE
accent
#E3C344
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#16090A
muted
#847B7C