#7E312E#7E312E
#7E312E is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.1% C 0.108 H 25.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E312E |
|---|---|
| RGB | rgb(126, 49, 46) |
| HSL | hsl(2, 47%, 34%) |
| HSV | hsv(2, 63%, 49%) |
| CMYK | cmyk(0%, 61.1%, 63.5%, 50.6%) |
| CIE-LAB | lab(31.42, 33.19, 18.99) |
| CIE-LCH | lch(31.42, 38.24, 29.77°) |
| OKLab | oklab(42.15% 0.0977 0.0457) |
| OKLCH | oklch(42.15% 0.108 25) |
| XYZ | xyz(10.1966, 6.8308, 3.3658) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 5.80
Burgundy
#800020
ΔE00 7.21
Wine Red
#7B0323
ΔE00 7.72
Brown
#A52A2A
ΔE00 8.12
Crimson (survey)
#8C000F
ΔE00 8.14
Red Brown
#8B2E16
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E312E #2E7B7E
analogous
#7E2E53 #7E312E #7E592E
triadic
#7E312E #2E7E31 #312E7E
tetradic
#7E312E #537E2E #2E7B7E #592E7E
square
#7E312E #537E2E #2E7B7E #592E7E
split-complementary
#7E312E #2E7E59 #2E537E
monochromatic
#240E0D #51201E #7E312E #AB423E #C56561
Accessibility & contrast
On white
8.88
#7E312E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#7E312E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E312E
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E312E | 1.00 | 8.88 | 2.37 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44402D
Deuteranopia (green-blind)
#58502C
Tritanopia (blue-blind)
#8A2231
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e312e; /* rgb */ color: rgb(126, 49, 46); /* oklch */ color: oklch(42.1% 0.108 25.0);
Tailwind
colors: {
custom: {
50: '#a86c66',
500: '#7e312e',
950: '#000000',
},
}SCSS
$custom: #7e312e; $custom-light: #a86c66; $custom-dark: #000000;
JSON
{
"hex": "#7e312e",
"rgb": {
"r": 126,
"g": 49,
"b": 46
},
"hsl": {
"h": 2.25,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.4215,
"c": 0.10788,
"h": 25
},
"luminance": 0.0683
}Semantic roles & 50–950 ramp
primary
#7E312E
secondary
#5CA9AC
accent
#D1D652
background
#FAF6F6
surface
#F5ECEB
border
#CFC7C6
text
#110706
muted
#807A7A