#7E1520#7E1520
#7E1520 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.138 H 21.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1520 |
|---|---|
| RGB | rgb(126, 21, 32) |
| HSL | hsl(354, 71%, 29%) |
| HSV | hsv(354, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 74.6%, 50.6%) |
| CIE-LAB | lab(26.95, 43.87, 22.50) |
| CIE-LCH | lch(26.95, 49.31, 27.15°) |
| OKLab | oklab(38.74% 0.1285 0.0514) |
| OKLCH | oklch(38.74% 0.138 21.8) |
| XYZ | xyz(9.1341, 5.0777, 1.8654) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.43
Wine Red
#7B0323
ΔE00 3.65
Claret
#680018
ΔE00 5.34
Crimson (survey)
#8C000F
ΔE00 5.71
Rosewood
#65000B
ΔE00 6.01
Blood
#770001
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1520 #157E73
analogous
#7E1555 #7E1520 #7E3F15
triadic
#7E1520 #207E15 #15207E
tetradic
#7E1520 #557E15 #157E73 #3F157E
square
#7E1520 #557E15 #157E73 #3F157E
split-complementary
#7E1520 #157E3F #15557E
monochromatic
#1A0407 #4A0C13 #7E1520 #B21E2D #DD3143
Accessibility & contrast
On white
10.42
#7E1520 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1520 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1520
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1520 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1520 | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36311F
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1520; /* rgb */ color: rgb(126, 21, 32); /* oklch */ color: oklch(38.7% 0.138 21.8);
Tailwind
colors: {
custom: {
50: '#ab5e5b',
500: '#7e1520',
950: '#000000',
},
}SCSS
$custom: #7e1520; $custom-light: #ab5e5b; $custom-dark: #000000;
JSON
{
"hex": "#7e1520",
"rgb": {
"r": 126,
"g": 21,
"b": 32
},
"hsl": {
"h": 353.714,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38737,
"c": 0.13844,
"h": 21.8
},
"luminance": 0.05076
}Semantic roles & 50–950 ramp
primary
#7E1520
secondary
#3CB3A7
accent
#EEDB3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979