#C5342A#C5342A
#C5342A is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.7% C 0.183 H 28.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #C5342A |
|---|---|
| RGB | rgb(197, 52, 42) |
| HSL | hsl(4, 65%, 47%) |
| HSV | hsv(4, 79%, 77%) |
| CMYK | cmyk(0%, 73.6%, 78.7%, 22.7%) |
| CIE-LAB | lab(44.94, 56.30, 40.35) |
| CIE-LCH | lch(44.94, 69.27, 35.63°) |
| OKLab | oklab(54.7% 0.161 0.0879) |
| OKLCH | oklch(54.7% 0.183 28.6) |
| XYZ | xyz(24.6748, 14.4973, 3.6891) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.67
Dull Red
#BB3F3F
ΔE00 5.18
Scarlet
#BE0119
ΔE00 5.30
Firebrick
#B22222
ΔE00 5.41
Cherry (survey)
#CF0234
ΔE00 6.92
Red (survey)
#E50000
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5342A #2ABBC5
analogous
#C52A6E #C5342A #C5822A
triadic
#C5342A #2AC534 #342AC5
tetradic
#C5342A #6EC52A #2ABBC5 #822AC5
square
#C5342A #6EC52A #2ABBC5 #822AC5
split-complementary
#C5342A #2AC582 #2A6EC5
monochromatic
#601914 #93271F #C5342A #DA5B52 #E58B85
Accessibility & contrast
On white
5.39
#C5342A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#C5342A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C5342A
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C5342A | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605627
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#D90033
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #c5342a; /* rgb */ color: rgb(197, 52, 42); /* oklch */ color: oklch(54.7% 0.183 28.6);
Tailwind
colors: {
custom: {
50: '#e07665',
500: '#c5342a',
950: '#000000',
},
}SCSS
$custom: #c5342a; $custom-light: #e07665; $custom-dark: #000000;
JSON
{
"hex": "#c5342a",
"rgb": {
"r": 197,
"g": 52,
"b": 42
},
"hsl": {
"h": 3.871,
"s": 64.854,
"l": 46.863
},
"oklch": {
"l": 0.54697,
"c": 0.18346,
"h": 28.6
},
"luminance": 0.14493
}Semantic roles & 50–950 ramp
primary
#C5342A
secondary
#7DC9CE
accent
#DDE840
background
#FFF7F6
surface
#FEEEEB
border
#D6C9C6
text
#170905
muted
#857B7A