#7E1827#7E1827
#7E1827 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 18.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1827 |
|---|---|
| RGB | rgb(126, 24, 39) |
| HSL | hsl(351, 68%, 29%) |
| HSV | hsv(351, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 69%, 50.6%) |
| CIE-LAB | lab(27.40, 43.32, 18.44) |
| CIE-LCH | lch(27.40, 47.08, 23.05°) |
| OKLab | oklab(39.1% 0.1284 0.0436) |
| OKLCH | oklch(39.1% 0.136 18.7) |
| XYZ | xyz(9.2981, 5.2368, 2.4403) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.25
Wine Red
#7B0323
ΔE00 2.39
Bordeaux
#7B002C
ΔE00 5.04
Claret
#680018
ΔE00 5.29
Red Wine
#8C0034
ΔE00 5.61
Wine
#722F37
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1827 #187E6F
analogous
#7E185A #7E1827 #7E3C18
triadic
#7E1827 #277E18 #18277E
tetradic
#7E1827 #5A7E18 #187E6F #3C187E
square
#7E1827 #5A7E18 #187E6F #3C187E
split-complementary
#7E1827 #187E3C #185A7E
monochromatic
#1A0508 #4B0E17 #7E1827 #B12237 #D9374F
Accessibility & contrast
On white
10.26
#7E1827 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1827 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1827
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1827 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363327
Deuteranopia (green-blind)
#504824
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1827; /* rgb */ color: rgb(126, 24, 39); /* oklch */ color: oklch(39.1% 0.136 18.7);
Tailwind
colors: {
custom: {
50: '#aa6060',
500: '#7e1827',
950: '#000000',
},
}SCSS
$custom: #7e1827; $custom-light: #aa6060; $custom-dark: #000000;
JSON
{
"hex": "#7e1827",
"rgb": {
"r": 126,
"g": 24,
"b": 39
},
"hsl": {
"h": 351.176,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39104,
"c": 0.13563,
"h": 18.7
},
"luminance": 0.05235
}Semantic roles & 50–950 ramp
primary
#7E1827
secondary
#3FB2A2
accent
#EBD13D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979