#7E2E2E#7E2E2E
#7E2E2E is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.112 H 23.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2E2E |
|---|---|
| RGB | rgb(126, 46, 46) |
| HSL | hsl(0, 47%, 34%) |
| HSV | hsv(0, 63%, 49%) |
| CMYK | cmyk(0%, 63.5%, 63.5%, 50.6%) |
| CIE-LAB | lab(30.85, 34.69, 18.26) |
| CIE-LCH | lch(30.85, 39.20, 27.76°) |
| OKLab | oklab(41.72% 0.1025 0.044) |
| OKLCH | oklch(41.72% 0.112 23.2) |
| XYZ | xyz(10.0753, 6.5882, 3.3253) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 5.17
Burgundy
#800020
ΔE00 6.32
Wine Red
#7B0323
ΔE00 6.72
Crimson (survey)
#8C000F
ΔE00 8.13
Brown
#A52A2A
ΔE00 8.33
Claret
#680018
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2E2E #2E7E7E
analogous
#7E2E56 #7E2E2E #7E562E
triadic
#7E2E2E #2E7E2E #2E2E7E
tetradic
#7E2E2E #567E2E #2E7E7E #562E7E
square
#7E2E2E #567E2E #2E7E7E #562E7E
split-complementary
#7E2E2E #2E7E56 #2E567E
monochromatic
#240D0D #511E1E #7E2E2E #AB3E3E #C56161
Accessibility & contrast
On white
9.06
#7E2E2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#7E2E2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2E2E
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2E2E | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423E2D
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#8A1E2F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e2e2e; /* rgb */ color: rgb(126, 46, 46); /* oklch */ color: oklch(41.7% 0.112 23.2);
Tailwind
colors: {
custom: {
50: '#a96b66',
500: '#7e2e2e',
950: '#000000',
},
}SCSS
$custom: #7e2e2e; $custom-light: #a96b66; $custom-dark: #000000;
JSON
{
"hex": "#7e2e2e",
"rgb": {
"r": 126,
"g": 46,
"b": 46
},
"hsl": {
"h": 0,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.41722,
"c": 0.11151,
"h": 23.2
},
"luminance": 0.06587
}Semantic roles & 50–950 ramp
primary
#7E2E2E
secondary
#5CACAC
accent
#D6D652
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110706
muted
#807A7A