#7E2A1A#7E2A1A
#7E2A1A is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.120 H 32.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A1A |
|---|---|
| RGB | rgb(126, 42, 26) |
| HSL | hsl(10, 66%, 30%) |
| HSV | hsv(10, 79%, 49%) |
| CMYK | cmyk(0%, 66.7%, 79.4%, 50.6%) |
| CIE-LAB | lab(29.83, 35.46, 29.42) |
| CIE-LCH | lch(29.83, 46.08, 39.68°) |
| OKLab | oklab(40.86% 0.1007 0.065) |
| OKLCH | oklch(40.86% 0.12 32.8) |
| XYZ | xyz(9.6197, 6.1675, 1.6610) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.56
Reddish Brown
#7F2B0A
ΔE00 4.60
Indian Red
#850E04
ΔE00 4.66
Brick Red
#8F1402
ΔE00 5.39
Reddy Brown
#6E1005
ΔE00 5.53
Dark Red
#840000
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A1A #1A6E7E
analogous
#7E1A3C #7E2A1A #7E5C1A
triadic
#7E2A1A #1A7E2A #2A1A7E
tetradic
#7E2A1A #3C7E1A #1A6E7E #5C1A7E
square
#7E2A1A #3C7E1A #1A6E7E #5C1A7E
split-complementary
#7E2A1A #1A7E5C #1A3C7E
monochromatic
#190805 #4B1910 #7E2A1A #B13B24 #D7553C
Accessibility & contrast
On white
9.40
#7E2A1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7E2A1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A1A
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A1A | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#574D17
Tritanopia (blue-blind)
#8B1327
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2a1a; /* rgb */ color: rgb(126, 42, 26); /* oklch */ color: oklch(40.9% 0.120 32.8);
Tailwind
colors: {
custom: {
50: '#aa6857',
500: '#7e2a1a',
950: '#000000',
},
}SCSS
$custom: #7e2a1a; $custom-light: #aa6857; $custom-dark: #000000;
JSON
{
"hex": "#7e2a1a",
"rgb": {
"r": 126,
"g": 42,
"b": 26
},
"hsl": {
"h": 9.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.4086,
"c": 0.11984,
"h": 32.8
},
"luminance": 0.06166
}Semantic roles & 50–950 ramp
primary
#7E2A1A
secondary
#42A0B2
accent
#CEE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78