#7E1824#7E1824
#7E1824 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 20.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1824 |
|---|---|
| RGB | rgb(126, 24, 36) |
| HSL | hsl(353, 68%, 29%) |
| HSV | hsv(353, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 71.4%, 50.6%) |
| CIE-LAB | lab(27.35, 43.15, 20.35) |
| CIE-LCH | lch(27.35, 47.71, 25.25°) |
| OKLab | oklab(39.05% 0.1272 0.0474) |
| OKLCH | oklch(39.05% 0.136 20.4) |
| XYZ | xyz(9.2503, 5.2177, 2.1888) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.24
Wine Red
#7B0323
ΔE00 3.01
Claret
#680018
ΔE00 5.31
Bordeaux
#7B002C
ΔE00 6.07
Red Wine
#8C0034
ΔE00 6.63
Rosewood
#65000B
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1824 #187E72
analogous
#7E1857 #7E1824 #7E3F18
triadic
#7E1824 #247E18 #18247E
tetradic
#7E1824 #577E18 #187E72 #3F187E
square
#7E1824 #577E18 #187E72 #3F187E
split-complementary
#7E1824 #187E3F #18577E
monochromatic
#1A0507 #4B0E15 #7E1824 #B12233 #D9374A
Accessibility & contrast
On white
10.28
#7E1824 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1824 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1824
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1824 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1824 | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373324
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1824; /* rgb */ color: rgb(126, 24, 36); /* oklch */ color: oklch(39.0% 0.136 20.4);
Tailwind
colors: {
custom: {
50: '#ab605e',
500: '#7e1824',
950: '#000000',
},
}SCSS
$custom: #7e1824; $custom-light: #ab605e; $custom-dark: #000000;
JSON
{
"hex": "#7e1824",
"rgb": {
"r": 126,
"g": 24,
"b": 36
},
"hsl": {
"h": 352.941,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39048,
"c": 0.13576,
"h": 20.4
},
"luminance": 0.05216
}Semantic roles & 50–950 ramp
primary
#7E1824
secondary
#3FB2A5
accent
#EBD63D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979