#7E1E12#7E1E12
#7E1E12 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.133 H 30.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E12 |
|---|---|
| RGB | rgb(126, 30, 18) |
| HSL | hsl(7, 75%, 28%) |
| HSV | hsv(7, 86%, 49%) |
| CMYK | cmyk(0%, 76.2%, 85.7%, 50.6%) |
| CIE-LAB | lab(27.87, 40.30, 31.98) |
| CIE-LCH | lch(27.87, 51.44, 38.43°) |
| OKLab | oklab(39.37% 0.1141 0.0678) |
| OKLCH | oklch(39.37% 0.133 30.7) |
| XYZ | xyz(9.1787, 5.4093, 1.1329) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.75
Maroon
#800000
ΔE00 3.28
Dark Red
#840000
ΔE00 3.37
Blood
#770001
ΔE00 3.75
Reddy Brown
#6E1005
ΔE00 3.84
Darkred
#8B0000
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E12 #12727E
analogous
#7E123C #7E1E12 #7E5412
triadic
#7E1E12 #127E1E #1E127E
tetradic
#7E1E12 #3C7E12 #12727E #54127E
square
#7E1E12 #3C7E12 #12727E #54127E
split-complementary
#7E1E12 #127E54 #123C7E
monochromatic
#1B0604 #48110A #7E1E12 #B42B1A #E13E2A
Accessibility & contrast
On white
10.09
#7E1E12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1E12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E12
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E12 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B340F
Deuteranopia (green-blind)
#53490D
Tritanopia (blue-blind)
#8B001C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1e12; /* rgb */ color: rgb(126, 30, 18); /* oklch */ color: oklch(39.4% 0.133 30.7);
Tailwind
colors: {
custom: {
50: '#ac6251',
500: '#7e1e12',
950: '#000000',
},
}SCSS
$custom: #7e1e12; $custom-light: #ac6251; $custom-dark: #000000;
JSON
{
"hex": "#7e1e12",
"rgb": {
"r": 126,
"g": 30,
"b": 18
},
"hsl": {
"h": 6.667,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39365,
"c": 0.13276,
"h": 30.7
},
"luminance": 0.05408
}Semantic roles & 50–950 ramp
primary
#7E1E12
secondary
#38A6B4
accent
#DDF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78