#7E1312#7E1312
#7E1312 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.4% C 0.141 H 27.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1312 |
|---|---|
| RGB | rgb(126, 19, 18) |
| HSL | hsl(1, 75%, 28%) |
| HSV | hsv(1, 86%, 49%) |
| CMYK | cmyk(0%, 84.9%, 85.7%, 50.6%) |
| CIE-LAB | lab(26.58, 43.91, 30.77) |
| CIE-LCH | lch(26.58, 53.62, 35.02°) |
| OKLab | oklab(38.41% 0.1254 0.0651) |
| OKLCH | oklch(38.41% 0.141 27.4) |
| XYZ | xyz(8.9474, 4.9465, 1.0558) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.83
Blood
#770001
ΔE00 2.92
Maroon
#800000
ΔE00 3.07
Dark Red
#840000
ΔE00 3.39
Indian Red
#850E04
ΔE00 3.49
Reddy Brown
#6E1005
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1312 #127D7E
analogous
#7E1247 #7E1312 #7E4912
triadic
#7E1312 #127E13 #13127E
tetradic
#7E1312 #477E12 #127D7E #49127E
square
#7E1312 #477E12 #127D7E #49127E
split-complementary
#7E1312 #127E49 #12477E
monochromatic
#1B0404 #480B0A #7E1312 #B41B1A #E12C2A
Accessibility & contrast
On white
10.56
#7E1312 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#7E1312 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1312
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1312 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363010
Deuteranopia (green-blind)
#50470C
Tritanopia (blue-blind)
#8C0015
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1312; /* rgb */ color: rgb(126, 19, 18); /* oklch */ color: oklch(38.4% 0.141 27.4);
Tailwind
colors: {
custom: {
50: '#ac5d51',
500: '#7e1312',
950: '#000000',
},
}SCSS
$custom: #7e1312; $custom-light: #ac5d51; $custom-dark: #000000;
JSON
{
"hex": "#7e1312",
"rgb": {
"r": 126,
"g": 19,
"b": 18
},
"hsl": {
"h": 0.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38406,
"c": 0.14132,
"h": 27.4
},
"luminance": 0.04945
}Semantic roles & 50–950 ramp
primary
#7E1312
secondary
#38B3B4
accent
#F0F236
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978