#7E1521#7E1521
#7E1521 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 21.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1521 |
|---|---|
| RGB | rgb(126, 21, 33) |
| HSL | hsl(353, 71%, 29%) |
| HSV | hsv(353, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 73.8%, 50.6%) |
| CIE-LAB | lab(26.97, 43.92, 21.87) |
| CIE-LCH | lch(26.97, 49.06, 26.47°) |
| OKLab | oklab(38.75% 0.1289 0.0502) |
| OKLCH | oklch(38.75% 0.138 21.3) |
| XYZ | xyz(9.1479, 5.0832, 1.9380) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.19
Wine Red
#7B0323
ΔE00 3.33
Claret
#680018
ΔE00 5.23
Crimson (survey)
#8C000F
ΔE00 6.04
Rosewood
#65000B
ΔE00 6.16
Bordeaux
#7B002C
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1521 #157E72
analogous
#7E1556 #7E1521 #7E3E15
triadic
#7E1521 #217E15 #15217E
tetradic
#7E1521 #567E15 #157E72 #3E157E
square
#7E1521 #567E15 #157E72 #3E157E
split-complementary
#7E1521 #157E3E #15567E
monochromatic
#1A0407 #4A0C13 #7E1521 #B21E2F #DD3144
Accessibility & contrast
On white
10.41
#7E1521 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1521 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1521
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1521 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1521 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363121
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1521; /* rgb */ color: rgb(126, 21, 33); /* oklch */ color: oklch(38.8% 0.138 21.3);
Tailwind
colors: {
custom: {
50: '#ab5e5c',
500: '#7e1521',
950: '#000000',
},
}SCSS
$custom: #7e1521; $custom-light: #ab5e5c; $custom-dark: #000000;
JSON
{
"hex": "#7e1521",
"rgb": {
"r": 126,
"g": 21,
"b": 33
},
"hsl": {
"h": 353.143,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38754,
"c": 0.13838,
"h": 21.3
},
"luminance": 0.05082
}Semantic roles & 50–950 ramp
primary
#7E1521
secondary
#3CB3A5
accent
#EEDA3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979