#C42E1F#C42E1F
#C42E1F is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.9% C 0.189 H 30.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C42E1F |
|---|---|
| RGB | rgb(196, 46, 31) |
| HSL | hsl(5, 73%, 45%) |
| HSV | hsv(5, 84%, 77%) |
| CMYK | cmyk(0%, 76.5%, 84.2%, 23.1%) |
| CIE-LAB | lab(43.93, 57.66, 45.05) |
| CIE-LCH | lch(43.93, 73.17, 38.00°) |
| OKLab | oklab(53.88% 0.1633 0.0945) |
| OKLCH | oklch(53.88% 0.189 30) |
| XYZ | xyz(23.9922, 13.7925, 2.6950) |
| Luminance | 0.1379 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 4.82
Firebrick
#B22222
ΔE00 5.33
Rusty Red
#AF2F0D
ΔE00 5.46
Red (survey)
#E50000
ΔE00 6.29
Reddish
#C44240
ΔE00 6.76
Rust Red
#AA2704
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42E1F #1FB5C4
analogous
#C41F62 #C42E1F #C4811F
triadic
#C42E1F #1FC42E #2E1FC4
tetradic
#C42E1F #62C41F #1FB5C4 #811FC4
square
#C42E1F #62C41F #1FB5C4 #811FC4
split-complementary
#C42E1F #1FC481 #1F62C4
monochromatic
#5A150E #8F2217 #C42E1F #E14E3F #E97F74
Accessibility & contrast
On white
5.59
#C42E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#C42E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42E1F
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42E1F | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D531B
Deuteranopia (green-blind)
#827416
Tritanopia (blue-blind)
#D8002C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #c42e1f; /* rgb */ color: rgb(196, 46, 31); /* oklch */ color: oklch(53.9% 0.189 30.0);
Tailwind
colors: {
custom: {
50: '#e0735d',
500: '#c42e1f',
950: '#000000',
},
}SCSS
$custom: #c42e1f; $custom-light: #e0735d; $custom-dark: #000000;
JSON
{
"hex": "#c42e1f",
"rgb": {
"r": 196,
"g": 46,
"b": 31
},
"hsl": {
"h": 5.455,
"s": 72.687,
"l": 44.51
},
"oklch": {
"l": 0.53884,
"c": 0.18867,
"h": 30
},
"luminance": 0.13789
}Semantic roles & 50–950 ramp
primary
#C42E1F
secondary
#6FC7D0
accent
#DFEF38
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170904
muted
#857B79