#7E1823#7E1823
#7E1823 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.136 H 21.0°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1823 |
|---|---|
| RGB | rgb(126, 24, 35) |
| HSL | hsl(354, 68%, 29%) |
| HSV | hsv(354, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 72.2%, 50.6%) |
| CIE-LAB | lab(27.33, 43.10, 20.99) |
| CIE-LCH | lch(27.33, 47.94, 25.97°) |
| OKLab | oklab(39.03% 0.1268 0.0487) |
| OKLCH | oklch(39.03% 0.136 21) |
| XYZ | xyz(9.2352, 5.2117, 2.1095) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.36
Wine Red
#7B0323
ΔE00 3.28
Claret
#680018
ΔE00 5.38
Crimson (survey)
#8C000F
ΔE00 6.41
Bordeaux
#7B002C
ΔE00 6.42
Rosewood
#65000B
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1823 #187E73
analogous
#7E1856 #7E1823 #7E4018
triadic
#7E1823 #237E18 #18237E
tetradic
#7E1823 #567E18 #187E73 #40187E
square
#7E1823 #567E18 #187E73 #40187E
split-complementary
#7E1823 #187E40 #18567E
monochromatic
#1A0507 #4B0E15 #7E1823 #B12231 #D93749
Accessibility & contrast
On white
10.28
#7E1823 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1823 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1823
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1823 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1823 | 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)
#373323
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1823; /* rgb */ color: rgb(126, 24, 35); /* oklch */ color: oklch(39.0% 0.136 21.0);
Tailwind
colors: {
custom: {
50: '#ab605d',
500: '#7e1823',
950: '#000000',
},
}SCSS
$custom: #7e1823; $custom-light: #ab605d; $custom-dark: #000000;
JSON
{
"hex": "#7e1823",
"rgb": {
"r": 126,
"g": 24,
"b": 35
},
"hsl": {
"h": 353.529,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.3903,
"c": 0.13581,
"h": 21
},
"luminance": 0.0521
}Semantic roles & 50–950 ramp
primary
#7E1823
secondary
#3FB2A6
accent
#EBD83D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979