#7E2712#7E2712
#7E2712 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.124 H 34.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2712 |
|---|---|
| RGB | rgb(126, 39, 18) |
| HSL | hsl(12, 75%, 28%) |
| HSV | hsv(12, 86%, 49%) |
| CMYK | cmyk(0%, 69%, 85.7%, 50.6%) |
| CIE-LAB | lab(29.24, 36.55, 33.25) |
| CIE-LCH | lch(29.24, 49.41, 42.29°) |
| OKLab | oklab(40.39% 0.1025 0.0707) |
| OKLCH | oklch(40.39% 0.125 34.6) |
| XYZ | xyz(9.4400, 5.9317, 1.2200) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 3.02
Red Brown
#8B2E16
ΔE00 3.03
Indian Red
#850E04
ΔE00 3.89
Brick Red
#8F1402
ΔE00 4.36
Chestnut
#742802
ΔE00 4.68
Dark Red
#840000
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2712 #12697E
analogous
#7E1233 #7E2712 #7E5D12
triadic
#7E2712 #127E27 #27127E
tetradic
#7E2712 #337E12 #12697E #5D127E
square
#7E2712 #337E12 #12697E #5D127E
split-complementary
#7E2712 #127E5D #12337E
monochromatic
#1B0804 #48160A #7E2712 #B4381A #E14D2A
Accessibility & contrast
On white
9.61
#7E2712 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E2712 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2712
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2712 | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#40390E
Deuteranopia (green-blind)
#564C0E
Tritanopia (blue-blind)
#8B0B23
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e2712; /* rgb */ color: rgb(126, 39, 18); /* oklch */ color: oklch(40.4% 0.124 34.6);
Tailwind
colors: {
custom: {
50: '#ab6652',
500: '#7e2712',
950: '#000000',
},
}SCSS
$custom: #7e2712; $custom-light: #ab6652; $custom-dark: #000000;
JSON
{
"hex": "#7e2712",
"rgb": {
"r": 126,
"g": 39,
"b": 18
},
"hsl": {
"h": 11.667,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.40391,
"c": 0.1245,
"h": 34.6
},
"luminance": 0.0593
}Semantic roles & 50–950 ramp
primary
#7E2712
secondary
#389CB4
accent
#CDF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78