#7E181B#7E181B
#7E181B is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 25.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7E181B |
|---|---|
| RGB | rgb(126, 24, 27) |
| HSL | hsl(358, 68%, 29%) |
| HSV | hsv(358, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 78.6%, 50.6%) |
| CIE-LAB | lab(27.21, 42.73, 25.99) |
| CIE-LCH | lch(27.21, 50.01, 31.31°) |
| OKLab | oklab(38.91% 0.1237 0.0578) |
| OKLCH | oklch(38.91% 0.137 25.1) |
| XYZ | xyz(9.1297, 5.1695, 1.5538) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.05
Burgundy
#800020
ΔE00 4.47
Blood
#770001
ΔE00 4.98
Reddy Brown
#6E1005
ΔE00 5.40
Maroon
#800000
ΔE00 5.43
Dark Red
#840000
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E181B #187E7B
analogous
#7E184E #7E181B #7E4818
triadic
#7E181B #1B7E18 #181B7E
tetradic
#7E181B #4E7E18 #187E7B #48187E
square
#7E181B #4E7E18 #187E7B #48187E
split-complementary
#7E181B #187E48 #184E7E
monochromatic
#1A0506 #4B0E10 #7E181B #B12226 #D9373C
Accessibility & contrast
On white
10.33
#7E181B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E181B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E181B
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E181B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E181B | 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)
#38321A
Deuteranopia (green-blind)
#514817
Tritanopia (blue-blind)
#8B001A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e181b; /* rgb */ color: rgb(126, 24, 27); /* oklch */ color: oklch(38.9% 0.137 25.1);
Tailwind
colors: {
custom: {
50: '#ab5f57',
500: '#7e181b',
950: '#000000',
},
}SCSS
$custom: #7e181b; $custom-light: #ab5f57; $custom-dark: #000000;
JSON
{
"hex": "#7e181b",
"rgb": {
"r": 126,
"g": 24,
"b": 27
},
"hsl": {
"h": 358.235,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.38906,
"c": 0.13655,
"h": 25.1
},
"luminance": 0.05168
}Semantic roles & 50–950 ramp
primary
#7E181B
secondary
#3FB2AF
accent
#EBE63D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978