#7E1726#7E1726
#7E1726 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.137 H 19.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1726 |
|---|---|
| RGB | rgb(126, 23, 38) |
| HSL | hsl(351, 69%, 29%) |
| HSV | hsv(351, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 69.8%, 50.6%) |
| CIE-LAB | lab(27.27, 43.58, 18.94) |
| CIE-LCH | lch(27.27, 47.52, 23.49°) |
| OKLab | oklab(39% 0.129 0.0446) |
| OKLCH | oklch(39% 0.137 19.1) |
| XYZ | xyz(9.2615, 5.1898, 2.3474) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.07
Wine Red
#7B0323
ΔE00 2.38
Claret
#680018
ΔE00 5.19
Bordeaux
#7B002C
ΔE00 5.20
Red Wine
#8C0034
ΔE00 5.80
Wine
#722F37
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1726 #177E6F
analogous
#7E175A #7E1726 #7E3C17
triadic
#7E1726 #267E17 #17267E
tetradic
#7E1726 #5A7E17 #177E6F #3C177E
square
#7E1726 #5A7E17 #177E6F #3C177E
split-complementary
#7E1726 #177E3C #175A7E
monochromatic
#1A0508 #4A0E16 #7E1726 #B22036 #DA354D
Accessibility & contrast
On white
10.31
#7E1726 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1726 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1726
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1726 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1726 | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363326
Deuteranopia (green-blind)
#504823
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1726; /* rgb */ color: rgb(126, 23, 38); /* oklch */ color: oklch(39.0% 0.137 19.1);
Tailwind
colors: {
custom: {
50: '#aa5f60',
500: '#7e1726',
950: '#000000',
},
}SCSS
$custom: #7e1726; $custom-light: #aa5f60; $custom-dark: #000000;
JSON
{
"hex": "#7e1726",
"rgb": {
"r": 126,
"g": 23,
"b": 38
},
"hsl": {
"h": 351.262,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.39002,
"c": 0.13651,
"h": 19.1
},
"luminance": 0.05188
}Semantic roles & 50–950 ramp
primary
#7E1726
secondary
#3EB3A2
accent
#ECD23C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979