#7E1912#7E1912
#7E1912 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 29.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1912 |
|---|---|
| RGB | rgb(126, 25, 18) |
| HSL | hsl(4, 75%, 28%) |
| HSV | hsv(4, 86%, 49%) |
| CMYK | cmyk(0%, 80.2%, 85.7%, 50.6%) |
| CIE-LAB | lab(27.23, 42.08, 31.38) |
| CIE-LCH | lch(27.23, 52.49, 36.71°) |
| OKLab | oklab(38.89% 0.1197 0.0665) |
| OKLCH | oklch(38.89% 0.137 29.1) |
| XYZ | xyz(9.0621, 5.1760, 1.0941) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.92
Maroon
#800000
ΔE00 2.96
Blood
#770001
ΔE00 3.16
Dark Red
#840000
ΔE00 3.17
Crimson (survey)
#8C000F
ΔE00 3.24
Reddy Brown
#6E1005
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1912 #12777E
analogous
#7E1241 #7E1912 #7E4F12
triadic
#7E1912 #127E19 #19127E
tetradic
#7E1912 #417E12 #12777E #4F127E
square
#7E1912 #417E12 #12777E #4F127E
split-complementary
#7E1912 #127E4F #12417E
monochromatic
#1B0504 #480E0A #7E1912 #B4241A #E1362A
Accessibility & contrast
On white
10.32
#7E1912 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1912 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1912
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1912 | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393210
Deuteranopia (green-blind)
#52480C
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1912; /* rgb */ color: rgb(126, 25, 18); /* oklch */ color: oklch(38.9% 0.137 29.1);
Tailwind
colors: {
custom: {
50: '#ac6051',
500: '#7e1912',
950: '#000000',
},
}SCSS
$custom: #7e1912; $custom-light: #ac6051; $custom-dark: #000000;
JSON
{
"hex": "#7e1912",
"rgb": {
"r": 126,
"g": 25,
"b": 18
},
"hsl": {
"h": 3.889,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38888,
"c": 0.13692,
"h": 29.1
},
"luminance": 0.05175
}Semantic roles & 50–950 ramp
primary
#7E1912
secondary
#38ACB4
accent
#E5F236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978