#7E1724#7E1724
#7E1724 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.137 H 20.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1724 |
|---|---|
| RGB | rgb(126, 23, 36) |
| HSL | hsl(352, 69%, 29%) |
| HSV | hsv(352, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 71.4%, 50.6%) |
| CIE-LAB | lab(27.23, 43.47, 20.22) |
| CIE-LCH | lch(27.23, 47.94, 24.94°) |
| OKLab | oklab(38.96% 0.1282 0.0471) |
| OKLCH | oklch(38.96% 0.137 20.2) |
| XYZ | xyz(9.2301, 5.1772, 2.1820) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.08
Wine Red
#7B0323
ΔE00 2.82
Claret
#680018
ΔE00 5.22
Bordeaux
#7B002C
ΔE00 5.89
Red Wine
#8C0034
ΔE00 6.48
Rosewood
#65000B
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1724 #177E71
analogous
#7E1758 #7E1724 #7E3E17
triadic
#7E1724 #247E17 #17247E
tetradic
#7E1724 #587E17 #177E71 #3E177E
square
#7E1724 #587E17 #177E71 #3E177E
split-complementary
#7E1724 #177E3E #17587E
monochromatic
#1A0507 #4A0E15 #7E1724 #B22033 #DA354A
Accessibility & contrast
On white
10.32
#7E1724 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1724 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1724
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1724 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1724 | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363224
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1724; /* rgb */ color: rgb(126, 23, 36); /* oklch */ color: oklch(39.0% 0.137 20.2);
Tailwind
colors: {
custom: {
50: '#ab5f5e',
500: '#7e1724',
950: '#000000',
},
}SCSS
$custom: #7e1724; $custom-light: #ab5f5e; $custom-dark: #000000;
JSON
{
"hex": "#7e1724",
"rgb": {
"r": 126,
"g": 23,
"b": 36
},
"hsl": {
"h": 352.427,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.38965,
"c": 0.13659,
"h": 20.2
},
"luminance": 0.05176
}Semantic roles & 50–950 ramp
primary
#7E1724
secondary
#3EB3A4
accent
#ECD63C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979