#7E1822#7E1822
#7E1822 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 21.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1822 |
|---|---|
| RGB | rgb(126, 24, 34) |
| HSL | hsl(354, 68%, 29%) |
| HSV | hsv(354, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 73%, 50.6%) |
| CIE-LAB | lab(27.31, 43.05, 21.62) |
| CIE-LCH | lch(27.31, 48.17, 26.67°) |
| OKLab | oklab(39.01% 0.1264 0.0499) |
| OKLCH | oklch(39.01% 0.136 21.5) |
| XYZ | xyz(9.2206, 5.2058, 2.0324) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.54
Wine Red
#7B0323
ΔE00 3.57
Claret
#680018
ΔE00 5.46
Crimson (survey)
#8C000F
ΔE00 6.08
Rosewood
#65000B
ΔE00 6.33
Bordeaux
#7B002C
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1822 #187E74
analogous
#7E1855 #7E1822 #7E4118
triadic
#7E1822 #227E18 #18227E
tetradic
#7E1822 #557E18 #187E74 #41187E
square
#7E1822 #557E18 #187E74 #41187E
split-complementary
#7E1822 #187E41 #18557E
monochromatic
#1A0507 #4B0E14 #7E1822 #B12230 #D93747
Accessibility & contrast
On white
10.29
#7E1822 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1822 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1822
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1822 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1822 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373321
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1822; /* rgb */ color: rgb(126, 24, 34); /* oklch */ color: oklch(39.0% 0.136 21.5);
Tailwind
colors: {
custom: {
50: '#ab605d',
500: '#7e1822',
950: '#000000',
},
}SCSS
$custom: #7e1822; $custom-light: #ab605d; $custom-dark: #000000;
JSON
{
"hex": "#7e1822",
"rgb": {
"r": 126,
"g": 24,
"b": 34
},
"hsl": {
"h": 354.118,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39013,
"c": 0.13588,
"h": 21.5
},
"luminance": 0.05204
}Semantic roles & 50–950 ramp
primary
#7E1822
secondary
#3FB2A7
accent
#EBDA3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979