#7E1021#7E1021
#7E1021 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.142 H 20.2°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1021 |
|---|---|
| RGB | rgb(126, 16, 33) |
| HSL | hsl(351, 77%, 28%) |
| HSV | hsv(351, 87%, 49%) |
| CMYK | cmyk(0%, 87.3%, 73.8%, 50.6%) |
| CIE-LAB | lab(26.50, 45.26, 21.30) |
| CIE-LCH | lch(26.50, 50.02, 25.20°) |
| OKLab | oklab(38.4% 0.1332 0.049) |
| OKLCH | oklch(38.4% 0.142 20.2) |
| XYZ | xyz(9.0651, 4.9175, 1.9104) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.42
Wine Red
#7B0323
ΔE00 2.56
Claret
#680018
ΔE00 4.83
Bordeaux
#7B002C
ΔE00 5.94
Rosewood
#65000B
ΔE00 6.20
Crimson (survey)
#8C000F
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1021 #107E6D
analogous
#7E1058 #7E1021 #7E3610
triadic
#7E1021 #217E10 #10217E
tetradic
#7E1021 #587E10 #107E6D #36107E
square
#7E1021 #587E10 #107E6D #36107E
split-complementary
#7E1021 #107E36 #10587E
monochromatic
#1B0307 #480913 #7E1021 #B4172F #E32542
Accessibility & contrast
On white
10.59
#7E1021 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7E1021 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1021
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1021 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1021 | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343021
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1021; /* rgb */ color: rgb(126, 16, 33); /* oklch */ color: oklch(38.4% 0.142 20.2);
Tailwind
colors: {
custom: {
50: '#ab5d5c',
500: '#7e1021',
950: '#000000',
},
}SCSS
$custom: #7e1021; $custom-light: #ab5d5c; $custom-dark: #000000;
JSON
{
"hex": "#7e1021",
"rgb": {
"r": 126,
"g": 16,
"b": 33
},
"hsl": {
"h": 350.727,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.38404,
"c": 0.14195,
"h": 20.2
},
"luminance": 0.04916
}Semantic roles & 50–950 ramp
primary
#7E1021
secondary
#36B4A1
accent
#F4D634
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110504
muted
#807979