#7E222B#7E222B
#7E222B is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.126 H 19.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7E222B |
|---|---|
| RGB | rgb(126, 34, 43) |
| HSL | hsl(354, 58%, 31%) |
| HSV | hsv(354, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 65.9%, 50.6%) |
| CIE-LAB | lab(28.79, 39.91, 17.56) |
| CIE-LCH | lch(28.79, 43.60, 23.75°) |
| OKLab | oklab(40.16% 0.1184 0.0421) |
| OKLCH | oklch(40.16% 0.126 19.6) |
| XYZ | xyz(9.6132, 5.7555, 2.8897) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.77
Wine Red
#7B0323
ΔE00 3.89
Wine
#722F37
ΔE00 5.04
Bordeaux
#7B002C
ΔE00 5.98
Red Wine
#8C0034
ΔE00 6.24
Claret
#680018
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E222B #227E75
analogous
#7E2259 #7E222B #7E4722
triadic
#7E222B #2B7E22 #222B7E
tetradic
#7E222B #597E22 #227E75 #47227E
square
#7E222B #597E22 #227E75 #47227E
split-complementary
#7E222B #227E47 #22597E
monochromatic
#1E080A #4E151B #7E222B #AE2F3B #CF4C59
Accessibility & contrast
On white
9.76
#7E222B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E222B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E222B
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E222B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E222B | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B372B
Deuteranopia (green-blind)
#524B28
Tritanopia (blue-blind)
#8B0726
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e222b; /* rgb */ color: rgb(126, 34, 43); /* oklch */ color: oklch(40.2% 0.126 19.6);
Tailwind
colors: {
custom: {
50: '#aa6464',
500: '#7e222b',
950: '#000000',
},
}SCSS
$custom: #7e222b; $custom-light: #aa6464; $custom-dark: #000000;
JSON
{
"hex": "#7e222b",
"rgb": {
"r": 126,
"g": 34,
"b": 43
},
"hsl": {
"h": 354.13,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40159,
"c": 0.12568,
"h": 19.6
},
"luminance": 0.05754
}Semantic roles & 50–950 ramp
primary
#7E222B
secondary
#4BB1A7
accent
#E1D247
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79