#7E181E#7E181E
#7E181E is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.136 H 23.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7E181E |
|---|---|
| RGB | rgb(126, 24, 30) |
| HSL | hsl(356, 68%, 29%) |
| HSV | hsv(356, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 76.2%, 50.6%) |
| CIE-LAB | lab(27.25, 42.86, 24.14) |
| CIE-LCH | lch(27.25, 49.19, 29.39°) |
| OKLab | oklab(38.95% 0.1248 0.0546) |
| OKLCH | oklch(38.95% 0.136 23.6) |
| XYZ | xyz(9.1662, 5.1841, 1.7460) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.55
Wine Red
#7B0323
ΔE00 4.84
Crimson (survey)
#8C000F
ΔE00 4.84
Rosewood
#65000B
ΔE00 5.89
Blood
#770001
ΔE00 5.90
Claret
#680018
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E181E #187E78
analogous
#7E1851 #7E181E #7E4518
triadic
#7E181E #1E7E18 #181E7E
tetradic
#7E181E #517E18 #187E78 #45187E
square
#7E181E #517E18 #187E78 #45187E
split-complementary
#7E181E #187E45 #18517E
monochromatic
#1A0506 #4B0E12 #7E181E #B1222A #D93741
Accessibility & contrast
On white
10.31
#7E181E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E181E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E181E
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E181E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E181E | 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)
#37321D
Deuteranopia (green-blind)
#51481A
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e181e; /* rgb */ color: rgb(126, 24, 30); /* oklch */ color: oklch(38.9% 0.136 23.6);
Tailwind
colors: {
custom: {
50: '#ab5f5a',
500: '#7e181e',
950: '#000000',
},
}SCSS
$custom: #7e181e; $custom-light: #ab5f5a; $custom-dark: #000000;
JSON
{
"hex": "#7e181e",
"rgb": {
"r": 126,
"g": 24,
"b": 30
},
"hsl": {
"h": 356.471,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.38949,
"c": 0.13622,
"h": 23.6
},
"luminance": 0.05183
}Semantic roles & 50–950 ramp
primary
#7E181E
secondary
#3FB2AC
accent
#EBE13D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978