#7E1720#7E1720
#7E1720 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 22.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1720 |
|---|---|
| RGB | rgb(126, 23, 32) |
| HSL | hsl(355, 69%, 29%) |
| HSV | hsv(355, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 74.6%, 50.6%) |
| CIE-LAB | lab(27.17, 43.27, 22.75) |
| CIE-LCH | lch(27.17, 48.89, 27.74°) |
| OKLab | oklab(38.9% 0.1266 0.052) |
| OKLCH | oklch(38.9% 0.137 22.3) |
| XYZ | xyz(9.1724, 5.1541, 1.8781) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.80
Wine Red
#7B0323
ΔE00 4.00
Crimson (survey)
#8C000F
ΔE00 5.53
Claret
#680018
ΔE00 5.57
Rosewood
#65000B
ΔE00 6.04
Blood
#770001
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1720 #177E75
analogous
#7E1754 #7E1720 #7E4217
triadic
#7E1720 #207E17 #17207E
tetradic
#7E1720 #547E17 #177E75 #42177E
square
#7E1720 #547E17 #177E75 #42177E
split-complementary
#7E1720 #177E42 #17547E
monochromatic
#1A0507 #4A0E13 #7E1720 #B2202D #DA3544
Accessibility & contrast
On white
10.34
#7E1720 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1720 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1720
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1720 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1720 | 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)
#37321F
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1720; /* rgb */ color: rgb(126, 23, 32); /* oklch */ color: oklch(38.9% 0.137 22.3);
Tailwind
colors: {
custom: {
50: '#ab5f5b',
500: '#7e1720',
950: '#000000',
},
}SCSS
$custom: #7e1720; $custom-light: #ab5f5b; $custom-dark: #000000;
JSON
{
"hex": "#7e1720",
"rgb": {
"r": 126,
"g": 23,
"b": 32
},
"hsl": {
"h": 354.757,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.38896,
"c": 0.13686,
"h": 22.3
},
"luminance": 0.05153
}Semantic roles & 50–950 ramp
primary
#7E1720
secondary
#3EB3A8
accent
#ECDD3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979