#7E1815#7E1815
#7E1815 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.137 H 27.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1815 |
|---|---|
| RGB | rgb(126, 24, 21) |
| HSL | hsl(2, 71%, 29%) |
| HSV | hsv(2, 83%, 49%) |
| CMYK | cmyk(0%, 81%, 83.3%, 50.6%) |
| CIE-LAB | lab(27.14, 42.50, 29.57) |
| CIE-LCH | lch(27.14, 51.78, 34.83°) |
| OKLab | oklab(38.83% 0.1216 0.0637) |
| OKLCH | oklch(38.83% 0.137 27.6) |
| XYZ | xyz(9.0673, 5.1445, 1.2249) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.14
Blood
#770001
ΔE00 3.52
Maroon
#800000
ΔE00 3.64
Indian Red
#850E04
ΔE00 3.84
Dark Red
#840000
ΔE00 3.90
Reddy Brown
#6E1005
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1815 #157B7E
analogous
#7E1547 #7E1815 #7E4D15
triadic
#7E1815 #157E18 #18157E
tetradic
#7E1815 #477E15 #157B7E #4D157E
square
#7E1815 #477E15 #157B7E #4D157E
split-complementary
#7E1815 #157E4D #15477E
monochromatic
#1A0504 #4A0E0C #7E1815 #B2221E #DD3631
Accessibility & contrast
On white
10.35
#7E1815 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1815 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1815
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1815 | 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)
#383213
Deuteranopia (green-blind)
#514810
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1815; /* rgb */ color: rgb(126, 24, 21); /* oklch */ color: oklch(38.8% 0.137 27.6);
Tailwind
colors: {
custom: {
50: '#ac5f53',
500: '#7e1815',
950: '#000000',
},
}SCSS
$custom: #7e1815; $custom-light: #ac5f53; $custom-dark: #000000;
JSON
{
"hex": "#7e1815",
"rgb": {
"r": 126,
"g": 24,
"b": 21
},
"hsl": {
"h": 1.714,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.38832,
"c": 0.1373,
"h": 27.6
},
"luminance": 0.05143
}Semantic roles & 50–950 ramp
primary
#7E1815
secondary
#3CB0B3
accent
#E9EE3A
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978