#7E1721#7E1721
#7E1721 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 21.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1721 |
|---|---|
| RGB | rgb(126, 23, 33) |
| HSL | hsl(354, 69%, 29%) |
| HSV | hsv(354, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 73.8%, 50.6%) |
| CIE-LAB | lab(27.18, 43.32, 22.12) |
| CIE-LCH | lch(27.18, 48.64, 27.06°) |
| OKLab | oklab(38.91% 0.127 0.0508) |
| OKLCH | oklch(38.91% 0.137 21.8) |
| XYZ | xyz(9.1862, 5.1597, 1.9508) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.56
Wine Red
#7B0323
ΔE00 3.69
Claret
#680018
ΔE00 5.45
Crimson (survey)
#8C000F
ΔE00 5.85
Rosewood
#65000B
ΔE00 6.17
Bordeaux
#7B002C
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1721 #177E74
analogous
#7E1755 #7E1721 #7E4117
triadic
#7E1721 #217E17 #17217E
tetradic
#7E1721 #557E17 #177E74 #41177E
square
#7E1721 #557E17 #177E74 #41177E
split-complementary
#7E1721 #177E41 #17557E
monochromatic
#1A0507 #4A0E13 #7E1721 #B2202F #DA3545
Accessibility & contrast
On white
10.34
#7E1721 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1721 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1721
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1721 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1721 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373220
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1721; /* rgb */ color: rgb(126, 23, 33); /* oklch */ color: oklch(38.9% 0.137 21.8);
Tailwind
colors: {
custom: {
50: '#ab5f5c',
500: '#7e1721',
950: '#000000',
},
}SCSS
$custom: #7e1721; $custom-light: #ab5f5c; $custom-dark: #000000;
JSON
{
"hex": "#7e1721",
"rgb": {
"r": 126,
"g": 23,
"b": 33
},
"hsl": {
"h": 354.175,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.38913,
"c": 0.13678,
"h": 21.8
},
"luminance": 0.05158
}Semantic roles & 50–950 ramp
primary
#7E1721
secondary
#3EB3A7
accent
#ECDB3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979