#7E312B#7E312B
#7E312B is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.1% C 0.108 H 27.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E312B |
|---|---|
| RGB | rgb(126, 49, 43) |
| HSL | hsl(4, 49%, 33%) |
| HSV | hsv(4, 66%, 49%) |
| CMYK | cmyk(0%, 61.1%, 65.9%, 50.6%) |
| CIE-LAB | lab(31.37, 32.97, 20.82) |
| CIE-LCH | lch(31.37, 39.00, 32.27°) |
| OKLab | oklab(42.09% 0.0965 0.0495) |
| OKLCH | oklch(42.09% 0.108 27.1) |
| XYZ | xyz(10.1395, 6.8080, 3.0652) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 6.86
Red Brown
#8B2E16
ΔE00 7.13
Crimson (survey)
#8C000F
ΔE00 7.58
Burgundy
#800020
ΔE00 7.67
Brown
#A52A2A
ΔE00 7.89
Brownish Red
#9E3623
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E312B #2B787E
analogous
#7E2B4E #7E312B #7E5A2B
triadic
#7E312B #2B7E31 #312B7E
tetradic
#7E312B #4E7E2B #2B787E #5A2B7E
square
#7E312B #4E7E2B #2B787E #5A2B7E
split-complementary
#7E312B #2B7E5A #2B4E7E
monochromatic
#230E0C #501F1B #7E312B #AC433B #C7645C
Accessibility & contrast
On white
8.89
#7E312B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7E312B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E312B
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E312B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E312B | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453F2A
Deuteranopia (green-blind)
#585029
Tritanopia (blue-blind)
#8A2230
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e312b; /* rgb */ color: rgb(126, 49, 43); /* oklch */ color: oklch(42.1% 0.108 27.1);
Tailwind
colors: {
custom: {
50: '#a96c64',
500: '#7e312b',
950: '#000000',
},
}SCSS
$custom: #7e312b; $custom-light: #a96c64; $custom-dark: #000000;
JSON
{
"hex": "#7e312b",
"rgb": {
"r": 126,
"g": 49,
"b": 43
},
"hsl": {
"h": 4.337,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.42093,
"c": 0.10842,
"h": 27.1
},
"luminance": 0.06807
}Semantic roles & 50–950 ramp
primary
#7E312B
secondary
#58A7AD
accent
#CFD94F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A