#7E1122#7E1122
#7E1122 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.141 H 19.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1122 |
|---|---|
| RGB | rgb(126, 17, 34) |
| HSL | hsl(351, 76%, 28%) |
| HSV | hsv(351, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 73%, 50.6%) |
| CIE-LAB | lab(26.60, 45.06, 20.77) |
| CIE-LCH | lch(26.60, 49.62, 24.74°) |
| OKLab | oklab(38.49% 0.1328 0.048) |
| OKLCH | oklch(38.49% 0.141 19.9) |
| XYZ | xyz(9.0944, 4.9535, 1.9903) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.41
Wine Red
#7B0323
ΔE00 2.39
Claret
#680018
ΔE00 4.84
Bordeaux
#7B002C
ΔE00 5.71
Rosewood
#65000B
ΔE00 6.37
Red Wine
#8C0034
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1122 #117E6D
analogous
#7E1158 #7E1122 #7E3611
triadic
#7E1122 #227E11 #11227E
tetradic
#7E1122 #587E11 #117E6D #36117E
square
#7E1122 #587E11 #117E6D #36117E
split-complementary
#7E1122 #117E36 #11587E
monochromatic
#1B0407 #480A13 #7E1122 #B41831 #E22745
Accessibility & contrast
On white
10.55
#7E1122 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#7E1122 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1122
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1122 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1122 | 1.00 | 10.55 | 1.99 | 10.55 |
| #FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343022
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1122; /* rgb */ color: rgb(126, 17, 34); /* oklch */ color: oklch(38.5% 0.141 19.9);
Tailwind
colors: {
custom: {
50: '#ab5d5c',
500: '#7e1122',
950: '#000000',
},
}SCSS
$custom: #7e1122; $custom-light: #ab5d5c; $custom-dark: #000000;
JSON
{
"hex": "#7e1122",
"rgb": {
"r": 126,
"g": 17,
"b": 34
},
"hsl": {
"h": 350.642,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.38486,
"c": 0.14124,
"h": 19.9
},
"luminance": 0.04952
}Semantic roles & 50–950 ramp
primary
#7E1122
secondary
#37B4A1
accent
#F3D535
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110504
muted
#807979