#7E2912#7E2912
#7E2912 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.6% C 0.123 H 35.6°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2912 |
|---|---|
| RGB | rgb(126, 41, 18) |
| HSL | hsl(13, 75%, 28%) |
| HSV | hsv(13, 86%, 49%) |
| CMYK | cmyk(0%, 67.5%, 85.7%, 50.6%) |
| CIE-LAB | lab(29.58, 35.64, 33.56) |
| CIE-LCH | lch(29.58, 48.95, 43.28°) |
| OKLab | oklab(40.65% 0.0997 0.0714) |
| OKLCH | oklch(40.65% 0.123 35.6) |
| XYZ | xyz(9.5074, 6.0666, 1.2425) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 2.45
Red Brown
#8B2E16
ΔE00 2.83
Chestnut
#742802
ΔE00 4.23
Indian Red
#850E04
ΔE00 4.38
Brick Red
#8F1402
ΔE00 4.59
Brown Red
#922B05
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2912 #12677E
analogous
#7E1231 #7E2912 #7E5F12
triadic
#7E2912 #127E29 #29127E
tetradic
#7E2912 #317E12 #12677E #5F127E
square
#7E2912 #317E12 #12677E #5F127E
split-complementary
#7E2912 #127E5F #12317E
monochromatic
#1B0904 #48180A #7E2912 #B43A1A #E1512A
Accessibility & contrast
On white
9.49
#7E2912 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7E2912 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2912
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2912 | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423A0E
Deuteranopia (green-blind)
#574D0E
Tritanopia (blue-blind)
#8B1025
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2912; /* rgb */ color: rgb(126, 41, 18); /* oklch */ color: oklch(40.6% 0.123 35.6);
Tailwind
colors: {
custom: {
50: '#ab6752',
500: '#7e2912',
950: '#000000',
},
}SCSS
$custom: #7e2912; $custom-light: #ab6752; $custom-dark: #000000;
JSON
{
"hex": "#7e2912",
"rgb": {
"r": 126,
"g": 41,
"b": 18
},
"hsl": {
"h": 12.778,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.40647,
"c": 0.12258,
"h": 35.6
},
"luminance": 0.06065
}Semantic roles & 50–950 ramp
primary
#7E2912
secondary
#3899B4
accent
#CAF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78