#7E181A#7E181A
#7E181A is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 25.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7E181A |
|---|---|
| RGB | rgb(126, 24, 26) |
| HSL | hsl(359, 68%, 29%) |
| HSV | hsv(359, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 79.4%, 50.6%) |
| CIE-LAB | lab(27.20, 42.69, 26.60) |
| CIE-LCH | lch(27.20, 50.30, 31.93°) |
| OKLab | oklab(38.89% 0.1233 0.0589) |
| OKLCH | oklch(38.89% 0.137 25.5) |
| XYZ | xyz(9.1184, 5.1649, 1.4939) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.83
Blood
#770001
ΔE00 4.70
Burgundy
#800020
ΔE00 4.79
Maroon
#800000
ΔE00 5.10
Reddy Brown
#6E1005
ΔE00 5.14
Dark Red
#840000
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E181A #187E7C
analogous
#7E184D #7E181A #7E4918
triadic
#7E181A #1A7E18 #181A7E
tetradic
#7E181A #4D7E18 #187E7C #49187E
square
#7E181A #4D7E18 #187E7C #49187E
split-complementary
#7E181A #187E49 #184D7E
monochromatic
#1A0505 #4B0E0F #7E181A #B12225 #D9373B
Accessibility & contrast
On white
10.33
#7E181A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E181A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E181A
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E181A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E181A | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383219
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e181a; /* rgb */ color: rgb(126, 24, 26); /* oklch */ color: oklch(38.9% 0.137 25.5);
Tailwind
colors: {
custom: {
50: '#ab5f57',
500: '#7e181a',
950: '#000000',
},
}SCSS
$custom: #7e181a; $custom-light: #ab5f57; $custom-dark: #000000;
JSON
{
"hex": "#7e181a",
"rgb": {
"r": 126,
"g": 24,
"b": 26
},
"hsl": {
"h": 358.824,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.38892,
"c": 0.13667,
"h": 25.5
},
"luminance": 0.05163
}Semantic roles & 50–950 ramp
primary
#7E181A
secondary
#3FB2B0
accent
#EBE73D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978