#7E222F#7E222F
#7E222F is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.126 H 17.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7E222F |
|---|---|
| RGB | rgb(126, 34, 47) |
| HSL | hsl(352, 58%, 31%) |
| HSV | hsv(352, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 62.7%, 50.6%) |
| CIE-LAB | lab(28.87, 40.19, 15.03) |
| CIE-LCH | lch(28.87, 42.91, 20.50°) |
| OKLab | oklab(40.24% 0.1201 0.0367) |
| OKLCH | oklch(40.24% 0.126 17) |
| XYZ | xyz(9.6903, 5.7863, 3.2954) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.80
Burgundy
#800020
ΔE00 4.28
Wine
#722F37
ΔE00 4.28
Bordeaux
#7B002C
ΔE00 4.89
Red Wine
#8C0034
ΔE00 5.09
Claret
#680018
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E222F #227E71
analogous
#7E225D #7E222F #7E4322
triadic
#7E222F #2F7E22 #222F7E
tetradic
#7E222F #5D7E22 #227E71 #43227E
square
#7E222F #5D7E22 #227E71 #43227E
split-complementary
#7E222F #227E43 #225D7E
monochromatic
#1E080B #4E151D #7E222F #AE2F41 #CF4C5E
Accessibility & contrast
On white
9.74
#7E222F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E222F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E222F
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E222F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E222F | 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)
#3A382F
Deuteranopia (green-blind)
#524B2D
Tritanopia (blue-blind)
#8A0927
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e222f; /* rgb */ color: rgb(126, 34, 47); /* oklch */ color: oklch(40.2% 0.126 17.0);
Tailwind
colors: {
custom: {
50: '#a96467',
500: '#7e222f',
950: '#000000',
},
}SCSS
$custom: #7e222f; $custom-light: #a96467; $custom-dark: #000000;
JSON
{
"hex": "#7e222f",
"rgb": {
"r": 126,
"g": 34,
"b": 47
},
"hsl": {
"h": 351.522,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40245,
"c": 0.12558,
"h": 17
},
"luminance": 0.05785
}Semantic roles & 50–950 ramp
primary
#7E222F
secondary
#4BB1A2
accent
#E1CB47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A