#7E1820#7E1820
#7E1820 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 22.6°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1820 |
|---|---|
| RGB | rgb(126, 24, 32) |
| HSL | hsl(355, 68%, 29%) |
| HSV | hsv(355, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 74.6%, 50.6%) |
| CIE-LAB | lab(27.28, 42.95, 22.89) |
| CIE-LCH | lch(27.28, 48.67, 28.05°) |
| OKLab | oklab(38.98% 0.1256 0.0523) |
| OKLCH | oklch(38.98% 0.136 22.6) |
| XYZ | xyz(9.1926, 5.1946, 1.8849) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.00
Wine Red
#7B0323
ΔE00 4.19
Crimson (survey)
#8C000F
ΔE00 5.44
Claret
#680018
ΔE00 5.70
Rosewood
#65000B
ΔE00 6.07
Blood
#770001
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1820 #187E76
analogous
#7E1853 #7E1820 #7E4318
triadic
#7E1820 #207E18 #18207E
tetradic
#7E1820 #537E18 #187E76 #43187E
square
#7E1820 #537E18 #187E76 #43187E
split-complementary
#7E1820 #187E43 #18537E
monochromatic
#1A0507 #4B0E13 #7E1820 #B1222D #D93744
Accessibility & contrast
On white
10.30
#7E1820 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1820 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1820
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1820 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1820 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37331F
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1820; /* rgb */ color: rgb(126, 24, 32); /* oklch */ color: oklch(39.0% 0.136 22.6);
Tailwind
colors: {
custom: {
50: '#ab5f5b',
500: '#7e1820',
950: '#000000',
},
}SCSS
$custom: #7e1820; $custom-light: #ab5f5b; $custom-dark: #000000;
JSON
{
"hex": "#7e1820",
"rgb": {
"r": 126,
"g": 24,
"b": 32
},
"hsl": {
"h": 355.294,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.3898,
"c": 0.13604,
"h": 22.6
},
"luminance": 0.05193
}Semantic roles & 50–950 ramp
primary
#7E1820
secondary
#3FB2A9
accent
#EBDD3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979