#7E2A1D#7E2A1D
#7E2A1D is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.119 H 31.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A1D |
|---|---|
| RGB | rgb(126, 42, 29) |
| HSL | hsl(8, 63%, 30%) |
| HSV | hsv(8, 77%, 49%) |
| CMYK | cmyk(0%, 66.7%, 77%, 50.6%) |
| CIE-LAB | lab(29.87, 35.60, 27.69) |
| CIE-LCH | lch(29.87, 45.10, 37.88°) |
| OKLab | oklab(40.9% 0.1017 0.0621) |
| OKLCH | oklch(40.9% 0.119 31.4) |
| XYZ | xyz(9.6550, 6.1816, 1.8469) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.28
Indian Red
#850E04
ΔE00 5.05
Crimson (survey)
#8C000F
ΔE00 5.57
Reddish Brown
#7F2B0A
ΔE00 5.60
Reddy Brown
#6E1005
ΔE00 5.66
Maroon
#800000
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A1D #1D717E
analogous
#7E1D40 #7E2A1D #7E5A1D
triadic
#7E2A1D #1D7E2A #2A1D7E
tetradic
#7E2A1D #407E1D #1D717E #5A1D7E
square
#7E2A1D #407E1D #1D717E #5A1D7E
split-complementary
#7E2A1D #1D7E5A #1D407E
monochromatic
#1B0906 #4C1912 #7E2A1D #B03B28 #D35542
Accessibility & contrast
On white
9.39
#7E2A1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7E2A1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A1D
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A1D | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413B1B
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#8B1427
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2a1d; /* rgb */ color: rgb(126, 42, 29); /* oklch */ color: oklch(40.9% 0.119 31.4);
Tailwind
colors: {
custom: {
50: '#aa6859',
500: '#7e2a1d',
950: '#000000',
},
}SCSS
$custom: #7e2a1d; $custom-light: #aa6859; $custom-dark: #000000;
JSON
{
"hex": "#7e2a1d",
"rgb": {
"r": 126,
"g": 42,
"b": 29
},
"hsl": {
"h": 8.041,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.40898,
"c": 0.11917,
"h": 31.4
},
"luminance": 0.0618
}Semantic roles & 50–950 ramp
primary
#7E2A1D
secondary
#45A3B1
accent
#D0E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78