#7E1814#7E1814
#7E1814 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.137 H 28.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1814 |
|---|---|
| RGB | rgb(126, 24, 20) |
| HSL | hsl(2, 73%, 29%) |
| HSV | hsv(2, 84%, 49%) |
| CMYK | cmyk(0%, 81%, 84.1%, 50.6%) |
| CIE-LAB | lab(27.13, 42.47, 30.14) |
| CIE-LCH | lch(27.13, 52.08, 35.37°) |
| OKLab | oklab(38.82% 0.1213 0.0646) |
| OKLCH | oklch(38.82% 0.137 28) |
| XYZ | xyz(9.0582, 5.1409, 1.1770) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.10
Blood
#770001
ΔE00 3.35
Maroon
#800000
ΔE00 3.39
Indian Red
#850E04
ΔE00 3.54
Dark Red
#840000
ΔE00 3.65
Reddy Brown
#6E1005
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1814 #147A7E
analogous
#7E1445 #7E1814 #7E4D14
triadic
#7E1814 #147E18 #18147E
tetradic
#7E1814 #457E14 #147A7E #4D147E
square
#7E1814 #457E14 #147A7E #4D147E
split-complementary
#7E1814 #147E4D #14457E
monochromatic
#1A0504 #490E0C #7E1814 #B3221C #DE352E
Accessibility & contrast
On white
10.36
#7E1814 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1814 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1814
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1814 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1814 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383212
Deuteranopia (green-blind)
#51480F
Tritanopia (blue-blind)
#8B0019
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1814; /* rgb */ color: rgb(126, 24, 20); /* oklch */ color: oklch(38.8% 0.137 28.0);
Tailwind
colors: {
custom: {
50: '#ac5f52',
500: '#7e1814',
950: '#000000',
},
}SCSS
$custom: #7e1814; $custom-light: #ac5f52; $custom-dark: #000000;
JSON
{
"hex": "#7e1814",
"rgb": {
"r": 126,
"g": 24,
"b": 20
},
"hsl": {
"h": 2.264,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.38821,
"c": 0.13744,
"h": 28
},
"luminance": 0.05139
}Semantic roles & 50–950 ramp
primary
#7E1814
secondary
#3AAFB3
accent
#E8EF38
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978