#7E1F12#7E1F12
#7E1F12 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.132 H 31.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1F12 |
|---|---|
| RGB | rgb(126, 31, 18) |
| HSL | hsl(7, 75%, 28%) |
| HSV | hsv(7, 86%, 49%) |
| CMYK | cmyk(0%, 75.4%, 85.7%, 50.6%) |
| CIE-LAB | lab(28.01, 39.92, 32.10) |
| CIE-LCH | lch(28.01, 51.23, 38.81°) |
| OKLab | oklab(39.47% 0.1129 0.0681) |
| OKLCH | oklch(39.47% 0.132 31.1) |
| XYZ | xyz(9.2045, 5.4607, 1.1415) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indian Red
#850E04
ΔE00 2.78
Maroon
#800000
ΔE00 3.40
Dark Red
#840000
ΔE00 3.47
Blood
#770001
ΔE00 3.92
Reddy Brown
#6E1005
ΔE00 3.94
Darkred
#8B0000
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1F12 #12717E
analogous
#7E123B #7E1F12 #7E5512
triadic
#7E1F12 #127E1F #1F127E
tetradic
#7E1F12 #3B7E12 #12717E #55127E
square
#7E1F12 #3B7E12 #12717E #55127E
split-complementary
#7E1F12 #127E55 #123B7E
monochromatic
#1B0704 #48120A #7E1F12 #B42C1A #E1402A
Accessibility & contrast
On white
10.04
#7E1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7E1F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1F12
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1F12 | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C350F
Deuteranopia (green-blind)
#534A0D
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1f12; /* rgb */ color: rgb(126, 31, 18); /* oklch */ color: oklch(39.5% 0.132 31.1);
Tailwind
colors: {
custom: {
50: '#ac6251',
500: '#7e1f12',
950: '#000000',
},
}SCSS
$custom: #7e1f12; $custom-light: #ac6251; $custom-dark: #000000;
JSON
{
"hex": "#7e1f12",
"rgb": {
"r": 126,
"g": 31,
"b": 18
},
"hsl": {
"h": 7.222,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39468,
"c": 0.13188,
"h": 31.1
},
"luminance": 0.05459
}Semantic roles & 50–950 ramp
primary
#7E1F12
secondary
#38A5B4
accent
#DBF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78