#C42826#C42826
#C42826 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.5% C 0.192 H 27.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #C42826 |
|---|---|
| RGB | rgb(196, 40, 38) |
| HSL | hsl(1, 68%, 46%) |
| HSV | hsv(1, 81%, 77%) |
| CMYK | cmyk(0%, 79.6%, 80.6%, 23.1%) |
| CIE-LAB | lab(43.36, 59.64, 40.86) |
| CIE-LCH | lch(43.36, 72.30, 34.42°) |
| OKLab | oklab(53.47% 0.1708 0.0878) |
| OKLCH | oklch(53.47% 0.192 27.2) |
| XYZ | xyz(23.8765, 13.3972, 3.1621) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Scarlet
#BE0119
ΔE00 3.57
Firebrick
#B22222
ΔE00 3.99
Dull Red
#BB3F3F
ΔE00 5.35
Reddish
#C44240
ΔE00 5.40
Cherry (survey)
#CF0234
ΔE00 5.89
Lipstick Red
#C0022F
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42826 #26C2C4
analogous
#C42673 #C42826 #C47726
triadic
#C42826 #26C428 #2826C4
tetradic
#C42826 #73C426 #26C2C4 #7726C4
square
#C42826 #73C426 #26C2C4 #7726C4
split-complementary
#C42826 #26C477 #2673C4
monochromatic
#5D1312 #911E1C #C42826 #DC4D4B #E6807E
Accessibility & contrast
On white
5.71
#C42826 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#C42826 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42826
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42826 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42826 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5124
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#D8002A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c42826; /* rgb */ color: rgb(196, 40, 38); /* oklch */ color: oklch(53.5% 0.192 27.2);
Tailwind
colors: {
custom: {
50: '#e07161',
500: '#c42826',
950: '#000000',
},
}SCSS
$custom: #c42826; $custom-light: #e07161; $custom-dark: #000000;
JSON
{
"hex": "#c42826",
"rgb": {
"r": 196,
"g": 40,
"b": 38
},
"hsl": {
"h": 0.759,
"s": 67.521,
"l": 45.882
},
"oklch": {
"l": 0.53472,
"c": 0.19208,
"h": 27.2
},
"luminance": 0.13393
}Semantic roles & 50–950 ramp
primary
#C42826
secondary
#77CDCE
accent
#E8EA3D
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79