#7E222E#7E222E
#7E222E is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.126 H 17.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7E222E |
|---|---|
| RGB | rgb(126, 34, 46) |
| HSL | hsl(352, 58%, 31%) |
| HSV | hsv(352, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 63.5%, 50.6%) |
| CIE-LAB | lab(28.85, 40.12, 15.66) |
| CIE-LCH | lch(28.85, 43.07, 21.33°) |
| OKLab | oklab(40.22% 0.1197 0.038) |
| OKLCH | oklch(40.22% 0.126 17.6) |
| XYZ | xyz(9.6703, 5.7783, 3.1904) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.76
Burgundy
#800020
ΔE00 4.10
Wine
#722F37
ΔE00 4.44
Bordeaux
#7B002C
ΔE00 5.14
Red Wine
#8C0034
ΔE00 5.36
Claret
#680018
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E222E #227E72
analogous
#7E225C #7E222E #7E4422
triadic
#7E222E #2E7E22 #222E7E
tetradic
#7E222E #5C7E22 #227E72 #44227E
square
#7E222E #5C7E22 #227E72 #44227E
split-complementary
#7E222E #227E44 #225C7E
monochromatic
#1E080B #4E151C #7E222E #AE2F40 #CF4C5D
Accessibility & contrast
On white
9.74
#7E222E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E222E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E222E
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E222E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E222E | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A382E
Deuteranopia (green-blind)
#524B2C
Tritanopia (blue-blind)
#8A0827
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e222e; /* rgb */ color: rgb(126, 34, 46); /* oklch */ color: oklch(40.2% 0.126 17.6);
Tailwind
colors: {
custom: {
50: '#a96466',
500: '#7e222e',
950: '#000000',
},
}SCSS
$custom: #7e222e; $custom-light: #a96466; $custom-dark: #000000;
JSON
{
"hex": "#7e222e",
"rgb": {
"r": 126,
"g": 34,
"b": 46
},
"hsl": {
"h": 352.174,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40223,
"c": 0.12559,
"h": 17.6
},
"luminance": 0.05777
}Semantic roles & 50–950 ramp
primary
#7E222E
secondary
#4BB1A3
accent
#E1CD47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A