#7E1427#7E1427
#7E1427 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.139 H 17.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1427 |
|---|---|
| RGB | rgb(126, 20, 39) |
| HSL | hsl(349, 73%, 29%) |
| HSV | hsv(349, 84%, 49%) |
| CMYK | cmyk(0%, 84.1%, 69%, 50.6%) |
| CIE-LAB | lab(26.97, 44.53, 17.90) |
| CIE-LCH | lch(26.97, 47.99, 21.90°) |
| OKLab | oklab(38.79% 0.1323 0.0424) |
| OKLCH | oklch(38.79% 0.139 17.8) |
| XYZ | xyz(9.2216, 5.0839, 2.4148) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 1.77
Burgundy
#800020
ΔE00 2.02
Bordeaux
#7B002C
ΔE00 4.36
Claret
#680018
ΔE00 5.07
Red Wine
#8C0034
ΔE00 5.07
Wine
#722F37
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1427 #147E6B
analogous
#7E145C #7E1427 #7E3614
triadic
#7E1427 #277E14 #14277E
tetradic
#7E1427 #5C7E14 #147E6B #36147E
square
#7E1427 #5C7E14 #147E6B #36147E
split-complementary
#7E1427 #147E36 #145C7E
monochromatic
#1A0408 #490C17 #7E1427 #B31C37 #DE2E4E
Accessibility & contrast
On white
10.41
#7E1427 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7E1427 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1427
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1427 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1427 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1427; /* rgb */ color: rgb(126, 20, 39); /* oklch */ color: oklch(38.8% 0.139 17.8);
Tailwind
colors: {
custom: {
50: '#aa5e60',
500: '#7e1427',
950: '#000000',
},
}SCSS
$custom: #7e1427; $custom-light: #aa5e60; $custom-dark: #000000;
JSON
{
"hex": "#7e1427",
"rgb": {
"r": 126,
"g": 20,
"b": 39
},
"hsl": {
"h": 349.245,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.38788,
"c": 0.13893,
"h": 17.8
},
"luminance": 0.05082
}Semantic roles & 50–950 ramp
primary
#7E1427
secondary
#3AB39E
accent
#EFCF38
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979