#7E2A12#7E2A12
#7E2A12 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.122 H 36.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A12 |
|---|---|
| RGB | rgb(126, 42, 18) |
| HSL | hsl(13, 75%, 28%) |
| HSV | hsv(13, 86%, 49%) |
| CMYK | cmyk(0%, 66.7%, 85.7%, 50.6%) |
| CIE-LAB | lab(29.75, 35.17, 33.72) |
| CIE-LCH | lch(29.75, 48.72, 43.79°) |
| OKLab | oklab(40.78% 0.0982 0.0717) |
| OKLCH | oklch(40.78% 0.122 36.1) |
| XYZ | xyz(9.5424, 6.1366, 1.2542) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 2.18
Red Brown
#8B2E16
ΔE00 2.78
Chestnut
#742802
ΔE00 4.02
Indian Red
#850E04
ΔE00 4.65
Brick Red
#8F1402
ΔE00 4.74
Brown Red
#922B05
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A12 #12667E
analogous
#7E1230 #7E2A12 #7E6012
triadic
#7E2A12 #127E2A #2A127E
tetradic
#7E2A12 #307E12 #12667E #60127E
square
#7E2A12 #307E12 #12667E #60127E
split-complementary
#7E2A12 #127E60 #12307E
monochromatic
#1B0904 #48180A #7E2A12 #B43C1A #E1522A
Accessibility & contrast
On white
9.43
#7E2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7E2A12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A12
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A12 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423A0E
Deuteranopia (green-blind)
#574D0E
Tritanopia (blue-blind)
#8B1225
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2a12; /* rgb */ color: rgb(126, 42, 18); /* oklch */ color: oklch(40.8% 0.122 36.1);
Tailwind
colors: {
custom: {
50: '#ab6852',
500: '#7e2a12',
950: '#000000',
},
}SCSS
$custom: #7e2a12; $custom-light: #ab6852; $custom-dark: #000000;
JSON
{
"hex": "#7e2a12",
"rgb": {
"r": 126,
"g": 42,
"b": 18
},
"hsl": {
"h": 13.333,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.40778,
"c": 0.12163,
"h": 36.1
},
"luminance": 0.06135
}Semantic roles & 50–950 ramp
primary
#7E2A12
secondary
#3898B4
accent
#C8F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78