#7E1318#7E1318
#7E1318 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.141 H 25.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1318 |
|---|---|
| RGB | rgb(126, 19, 24) |
| HSL | hsl(357, 74%, 28%) |
| HSV | hsv(357, 85%, 49%) |
| CMYK | cmyk(0%, 84.9%, 81%, 50.6%) |
| CIE-LAB | lab(26.65, 44.10, 27.25) |
| CIE-LCH | lch(26.65, 51.84, 31.71°) |
| OKLab | oklab(38.47% 0.1274 0.0597) |
| OKLCH | oklch(38.47% 0.141 25.1) |
| XYZ | xyz(9.0030, 4.9688, 1.3490) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.61
Blood
#770001
ΔE00 4.39
Burgundy
#800020
ΔE00 4.57
Maroon
#800000
ΔE00 4.88
Reddy Brown
#6E1005
ΔE00 5.02
Dark Red
#840000
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1318 #137E79
analogous
#7E134D #7E1318 #7E4313
triadic
#7E1318 #187E13 #13187E
tetradic
#7E1318 #4D7E13 #137E79 #43137E
square
#7E1318 #4D7E13 #137E79 #43137E
split-complementary
#7E1318 #137E43 #134D7E
monochromatic
#1B0405 #490B0E #7E1318 #B31B22 #DF2C35
Accessibility & contrast
On white
10.53
#7E1318 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#7E1318 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1318
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1318 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1318 | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363017
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#8B0016
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1318; /* rgb */ color: rgb(126, 19, 24); /* oklch */ color: oklch(38.5% 0.141 25.1);
Tailwind
colors: {
custom: {
50: '#ac5d55',
500: '#7e1318',
950: '#000000',
},
}SCSS
$custom: #7e1318; $custom-light: #ac5d55; $custom-dark: #000000;
JSON
{
"hex": "#7e1318",
"rgb": {
"r": 126,
"g": 19,
"b": 24
},
"hsl": {
"h": 357.196,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.38473,
"c": 0.14065,
"h": 25.1
},
"luminance": 0.04967
}Semantic roles & 50–950 ramp
primary
#7E1318
secondary
#39B4AE
accent
#F0E837
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978