#C5342F#C5342F
#C5342F is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.8% C 0.183 H 27.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C5342F |
|---|---|
| RGB | rgb(197, 52, 47) |
| HSL | hsl(2, 61%, 48%) |
| HSV | hsv(2, 76%, 77%) |
| CMYK | cmyk(0%, 73.6%, 76.1%, 22.7%) |
| CIE-LAB | lab(44.99, 56.48, 37.63) |
| CIE-LCH | lch(44.99, 67.87, 33.68°) |
| OKLab | oklab(54.75% 0.1626 0.0835) |
| OKLCH | oklch(54.75% 0.183 27.2) |
| XYZ | xyz(24.7699, 14.5354, 4.1901) |
| Luminance | 0.1453 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.59
Dull Red
#BB3F3F
ΔE00 4.01
Firebrick
#B22222
ΔE00 5.33
Scarlet
#BE0119
ΔE00 5.41
Cherry (survey)
#CF0234
ΔE00 5.75
Cardinal
#C41E3A
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5342F #2FC0C5
analogous
#C52F75 #C5342F #C57F2F
triadic
#C5342F #2FC534 #342FC5
tetradic
#C5342F #75C52F #2FC0C5 #7F2FC5
square
#C5342F #75C52F #2FC0C5 #7F2FC5
split-complementary
#C5342F #2FC57F #2F75C5
monochromatic
#621A17 #942723 #C5342F #D85E5A #E38E8B
Accessibility & contrast
On white
5.38
#C5342F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#C5342F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5342F
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5342F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5342F | 1.00 | 5.38 | 3.91 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562D
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#D90035
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c5342f; /* rgb */ color: rgb(197, 52, 47); /* oklch */ color: oklch(54.8% 0.183 27.2);
Tailwind
colors: {
custom: {
50: '#e07668',
500: '#c5342f',
950: '#000000',
},
}SCSS
$custom: #c5342f; $custom-light: #e07668; $custom-dark: #000000;
JSON
{
"hex": "#c5342f",
"rgb": {
"r": 197,
"g": 52,
"b": 47
},
"hsl": {
"h": 2,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.54754,
"c": 0.18276,
"h": 27.2
},
"luminance": 0.14532
}Semantic roles & 50–950 ramp
primary
#C5342F
secondary
#82CBCD
accent
#DFE543
background
#FFF7F6
surface
#FEEEEB
border
#D6C9C6
text
#170906
muted
#857B7A