#7E1722#7E1722
#7E1722 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 21.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1722 |
|---|---|
| RGB | rgb(126, 23, 34) |
| HSL | hsl(354, 69%, 29%) |
| HSV | hsv(354, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 73%, 50.6%) |
| CIE-LAB | lab(27.20, 43.37, 21.49) |
| CIE-LCH | lch(27.20, 48.40, 26.36°) |
| OKLab | oklab(38.93% 0.1274 0.0496) |
| OKLCH | oklch(38.93% 0.137 21.3) |
| XYZ | xyz(9.2004, 5.1653, 2.0256) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.35
Wine Red
#7B0323
ΔE00 3.38
Claret
#680018
ΔE00 5.35
Crimson (survey)
#8C000F
ΔE00 6.18
Rosewood
#65000B
ΔE00 6.32
Bordeaux
#7B002C
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1722 #177E73
analogous
#7E1756 #7E1722 #7E4017
triadic
#7E1722 #227E17 #17227E
tetradic
#7E1722 #567E17 #177E73 #40177E
square
#7E1722 #567E17 #177E73 #40177E
split-complementary
#7E1722 #177E40 #17567E
monochromatic
#1A0507 #4A0E14 #7E1722 #B22030 #DA3547
Accessibility & contrast
On white
10.33
#7E1722 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1722 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1722
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1722 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1722 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363222
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1722; /* rgb */ color: rgb(126, 23, 34); /* oklch */ color: oklch(38.9% 0.137 21.3);
Tailwind
colors: {
custom: {
50: '#ab5f5d',
500: '#7e1722',
950: '#000000',
},
}SCSS
$custom: #7e1722; $custom-light: #ab5f5d; $custom-dark: #000000;
JSON
{
"hex": "#7e1722",
"rgb": {
"r": 126,
"g": 23,
"b": 34
},
"hsl": {
"h": 353.592,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.38929,
"c": 0.13671,
"h": 21.3
},
"luminance": 0.05164
}Semantic roles & 50–950 ramp
primary
#7E1722
secondary
#3EB3A6
accent
#ECD93C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979