#7E1813#7E1813
#7E1813 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.138 H 28.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1813 |
|---|---|
| RGB | rgb(126, 24, 19) |
| HSL | hsl(3, 74%, 28%) |
| HSV | hsv(3, 85%, 49%) |
| CMYK | cmyk(0%, 81%, 84.9%, 50.6%) |
| CIE-LAB | lab(27.12, 42.44, 30.71) |
| CIE-LCH | lch(27.12, 52.39, 35.89°) |
| OKLab | oklab(38.81% 0.121 0.0654) |
| OKLCH | oklch(38.81% 0.138 28.4) |
| XYZ | xyz(9.0495, 5.1374, 1.1311) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.10
Maroon
#800000
ΔE00 3.15
Blood
#770001
ΔE00 3.20
Indian Red
#850E04
ΔE00 3.27
Dark Red
#840000
ΔE00 3.40
Reddy Brown
#6E1005
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1813 #13797E
analogous
#7E1343 #7E1813 #7E4D13
triadic
#7E1813 #137E18 #18137E
tetradic
#7E1813 #437E13 #13797E #4D137E
square
#7E1813 #437E13 #13797E #4D137E
split-complementary
#7E1813 #137E4D #13437E
monochromatic
#1B0504 #490E0B #7E1813 #B3221B #DF352C
Accessibility & contrast
On white
10.36
#7E1813 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1813 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1813
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1813 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1813 | 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)
#383211
Deuteranopia (green-blind)
#51480E
Tritanopia (blue-blind)
#8B0018
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1813; /* rgb */ color: rgb(126, 24, 19); /* oklch */ color: oklch(38.8% 0.138 28.4);
Tailwind
colors: {
custom: {
50: '#ac5f52',
500: '#7e1813',
950: '#000000',
},
}SCSS
$custom: #7e1813; $custom-light: #ac5f52; $custom-dark: #000000;
JSON
{
"hex": "#7e1813",
"rgb": {
"r": 126,
"g": 24,
"b": 19
},
"hsl": {
"h": 2.804,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.3881,
"c": 0.13757,
"h": 28.4
},
"luminance": 0.05136
}Semantic roles & 50–950 ramp
primary
#7E1813
secondary
#39AEB4
accent
#E8F037
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978