#7E1816#7E1816
#7E1816 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.137 H 27.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1816 |
|---|---|
| RGB | rgb(126, 24, 22) |
| HSL | hsl(1, 70%, 29%) |
| HSV | hsv(1, 83%, 49%) |
| CMYK | cmyk(0%, 81%, 82.5%, 50.6%) |
| CIE-LAB | lab(27.15, 42.54, 28.99) |
| CIE-LCH | lch(27.15, 51.48, 34.27°) |
| OKLab | oklab(38.84% 0.122 0.0628) |
| OKLCH | oklch(38.84% 0.137 27.2) |
| XYZ | xyz(9.0767, 5.1483, 1.2747) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.21
Blood
#770001
ΔE00 3.72
Maroon
#800000
ΔE00 3.91
Indian Red
#850E04
ΔE00 4.14
Dark Red
#840000
ΔE00 4.18
Reddy Brown
#6E1005
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1816 #167C7E
analogous
#7E1648 #7E1816 #7E4C16
triadic
#7E1816 #167E18 #18167E
tetradic
#7E1816 #487E16 #167C7E #4C167E
square
#7E1816 #487E16 #167C7E #4C167E
split-complementary
#7E1816 #167E4C #16487E
monochromatic
#1A0505 #4A0E0D #7E1816 #B2221F #DB3633
Accessibility & contrast
On white
10.35
#7E1816 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1816 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1816
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1816 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1816 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383214
Deuteranopia (green-blind)
#514811
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1816; /* rgb */ color: rgb(126, 24, 22); /* oklch */ color: oklch(38.8% 0.137 27.2);
Tailwind
colors: {
custom: {
50: '#ac5f54',
500: '#7e1816',
950: '#000000',
},
}SCSS
$custom: #7e1816; $custom-light: #ac5f54; $custom-dark: #000000;
JSON
{
"hex": "#7e1816",
"rgb": {
"r": 126,
"g": 24,
"b": 22
},
"hsl": {
"h": 1.154,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.38843,
"c": 0.13717,
"h": 27.2
},
"luminance": 0.05147
}Semantic roles & 50–950 ramp
primary
#7E1816
secondary
#3DB1B3
accent
#EAED3B
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978