#7E2E1A#7E2E1A
#7E2E1A is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.4% C 0.116 H 35.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2E1A |
|---|---|
| RGB | rgb(126, 46, 26) |
| HSL | hsl(12, 66%, 30%) |
| HSV | hsv(12, 79%, 49%) |
| CMYK | cmyk(0%, 63.5%, 79.4%, 50.6%) |
| CIE-LAB | lab(30.56, 33.53, 30.18) |
| CIE-LCH | lch(30.56, 45.11, 41.99°) |
| OKLab | oklab(41.41% 0.0947 0.0666) |
| OKLCH | oklch(41.41% 0.116 35.1) |
| XYZ | xyz(9.7687, 6.4656, 1.7107) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.95
Reddish Brown
#7F2B0A
ΔE00 3.58
Chestnut
#742802
ΔE00 5.29
Indian Red
#850E04
ΔE00 5.37
Brick Red
#8F1402
ΔE00 5.63
Brown Red
#922B05
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2E1A #1A6A7E
analogous
#7E1A38 #7E2E1A #7E601A
triadic
#7E2E1A #1A7E2E #2E1A7E
tetradic
#7E2E1A #387E1A #1A6A7E #601A7E
square
#7E2E1A #387E1A #1A6A7E #601A7E
split-complementary
#7E2E1A #1A7E60 #1A387E
monochromatic
#190905 #4B1B10 #7E2E1A #B14124 #D75B3C
Accessibility & contrast
On white
9.16
#7E2E1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7E2E1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2E1A
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2E1A | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443D17
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#8B1A2A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2e1a; /* rgb */ color: rgb(126, 46, 26); /* oklch */ color: oklch(41.4% 0.116 35.1);
Tailwind
colors: {
custom: {
50: '#aa6a58',
500: '#7e2e1a',
950: '#000000',
},
}SCSS
$custom: #7e2e1a; $custom-light: #aa6a58; $custom-dark: #000000;
JSON
{
"hex": "#7e2e1a",
"rgb": {
"r": 126,
"g": 46,
"b": 26
},
"hsl": {
"h": 12,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.41408,
"c": 0.11579,
"h": 35.1
},
"luminance": 0.06464
}Semantic roles & 50–950 ramp
primary
#7E2E1A
secondary
#429CB2
accent
#C7E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78