#7E1512#7E1512
#7E1512 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.140 H 27.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1512 |
|---|---|
| RGB | rgb(126, 21, 18) |
| HSL | hsl(2, 75%, 28%) |
| HSV | hsv(2, 86%, 49%) |
| CMYK | cmyk(0%, 83.3%, 85.7%, 50.6%) |
| CIE-LAB | lab(26.78, 43.34, 30.96) |
| CIE-LCH | lch(26.78, 53.26, 35.54°) |
| OKLab | oklab(38.56% 0.1236 0.0656) |
| OKLCH | oklch(38.56% 0.14 27.9) |
| XYZ | xyz(8.9827, 5.0171, 1.0676) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.91
Blood
#770001
ΔE00 2.95
Maroon
#800000
ΔE00 2.99
Dark Red
#840000
ΔE00 3.28
Indian Red
#850E04
ΔE00 3.28
Reddy Brown
#6E1005
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1512 #127B7E
analogous
#7E1245 #7E1512 #7E4B12
triadic
#7E1512 #127E15 #15127E
tetradic
#7E1512 #457E12 #127B7E #4B127E
square
#7E1512 #457E12 #127B7E #4B127E
split-complementary
#7E1512 #127E4B #12457E
monochromatic
#1B0404 #480C0A #7E1512 #B41E1A #E12F2A
Accessibility & contrast
On white
10.48
#7E1512 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7E1512 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1512
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1512 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373110
Deuteranopia (green-blind)
#51470C
Tritanopia (blue-blind)
#8C0016
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7e1512; /* rgb */ color: rgb(126, 21, 18); /* oklch */ color: oklch(38.6% 0.140 27.9);
Tailwind
colors: {
custom: {
50: '#ac5e51',
500: '#7e1512',
950: '#000000',
},
}SCSS
$custom: #7e1512; $custom-light: #ac5e51; $custom-dark: #000000;
JSON
{
"hex": "#7e1512",
"rgb": {
"r": 126,
"g": 21,
"b": 18
},
"hsl": {
"h": 1.667,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.38555,
"c": 0.13993,
"h": 27.9
},
"luminance": 0.05016
}Semantic roles & 50–950 ramp
primary
#7E1512
secondary
#38B0B4
accent
#ECF236
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978