#7E2212#7E2212
#7E2212 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.129 H 32.3°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2212 |
|---|---|
| RGB | rgb(126, 34, 18) |
| HSL | hsl(9, 75%, 28%) |
| HSV | hsv(9, 86%, 49%) |
| CMYK | cmyk(0%, 73%, 85.7%, 50.6%) |
| CIE-LAB | lab(28.45, 38.71, 32.51) |
| CIE-LCH | lch(28.45, 50.55, 40.02°) |
| OKLab | oklab(39.8% 0.1092 0.069) |
| OKLCH | oklch(39.8% 0.129 32.3) |
| XYZ | xyz(9.2865, 5.6248, 1.1689) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 3.02
Dark Red
#840000
ΔE00 3.87
Maroon
#800000
ΔE00 3.88
Red Brown
#8B2E16
ΔE00 3.88
Brick Red
#8F1402
ΔE00 4.21
Darkred
#8B0000
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2212 #126E7E
analogous
#7E1238 #7E2212 #7E5812
triadic
#7E2212 #127E22 #22127E
tetradic
#7E2212 #387E12 #126E7E #58127E
square
#7E2212 #387E12 #126E7E #58127E
split-complementary
#7E2212 #127E58 #12387E
monochromatic
#1B0704 #48140A #7E2212 #B4301A #E1452A
Accessibility & contrast
On white
9.88
#7E2212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E2212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2212
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2212 | 1.00 | 9.88 | 2.12 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D360F
Deuteranopia (green-blind)
#544B0D
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e2212; /* rgb */ color: rgb(126, 34, 18); /* oklch */ color: oklch(39.8% 0.129 32.3);
Tailwind
colors: {
custom: {
50: '#ab6452',
500: '#7e2212',
950: '#000000',
},
}SCSS
$custom: #7e2212; $custom-light: #ab6452; $custom-dark: #000000;
JSON
{
"hex": "#7e2212",
"rgb": {
"r": 126,
"g": 34,
"b": 18
},
"hsl": {
"h": 8.889,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39795,
"c": 0.12918,
"h": 32.3
},
"luminance": 0.05623
}Semantic roles & 50–950 ramp
primary
#7E2212
secondary
#38A1B4
accent
#D6F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78