#7E222A#7E222A
#7E222A is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.126 H 20.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7E222A |
|---|---|
| RGB | rgb(126, 34, 42) |
| HSL | hsl(355, 58%, 31%) |
| HSV | hsv(355, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 66.7%, 50.6%) |
| CIE-LAB | lab(28.77, 39.85, 18.19) |
| CIE-LCH | lch(28.77, 43.80, 24.54°) |
| OKLab | oklab(40.14% 0.118 0.0434) |
| OKLCH | oklch(40.14% 0.126 20.2) |
| XYZ | xyz(9.5951, 5.7482, 2.7943) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.74
Wine Red
#7B0323
ΔE00 4.01
Wine
#722F37
ΔE00 5.28
Bordeaux
#7B002C
ΔE00 6.28
Claret
#680018
ΔE00 6.36
Red Wine
#8C0034
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E222A #227E76
analogous
#7E2258 #7E222A #7E4822
triadic
#7E222A #2A7E22 #222A7E
tetradic
#7E222A #587E22 #227E76 #48227E
square
#7E222A #587E22 #227E76 #48227E
split-complementary
#7E222A #227E48 #22587E
monochromatic
#1E080A #4E151A #7E222A #AE2F3A #CF4C57
Accessibility & contrast
On white
9.77
#7E222A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E222A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E222A
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E222A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E222A | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B372A
Deuteranopia (green-blind)
#524B27
Tritanopia (blue-blind)
#8B0626
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e222a; /* rgb */ color: rgb(126, 34, 42); /* oklch */ color: oklch(40.1% 0.126 20.2);
Tailwind
colors: {
custom: {
50: '#aa6463',
500: '#7e222a',
950: '#000000',
},
}SCSS
$custom: #7e222a; $custom-light: #aa6463; $custom-dark: #000000;
JSON
{
"hex": "#7e222a",
"rgb": {
"r": 126,
"g": 34,
"b": 42
},
"hsl": {
"h": 354.783,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40139,
"c": 0.12573,
"h": 20.2
},
"luminance": 0.05747
}Semantic roles & 50–950 ramp
primary
#7E222A
secondary
#4BB1A8
accent
#E1D347
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79