#7E2A1C#7E2A1C
#7E2A1C is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.119 H 31.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A1C |
|---|---|
| RGB | rgb(126, 42, 28) |
| HSL | hsl(9, 64%, 30%) |
| HSV | hsv(9, 78%, 49%) |
| CMYK | cmyk(0%, 66.7%, 77.8%, 50.6%) |
| CIE-LAB | lab(29.85, 35.55, 28.27) |
| CIE-LCH | lch(29.85, 45.42, 38.49°) |
| OKLab | oklab(40.89% 0.1014 0.0631) |
| OKLCH | oklch(40.89% 0.119 31.9) |
| XYZ | xyz(9.6428, 6.1768, 1.7829) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.02
Indian Red
#850E04
ΔE00 4.90
Reddish Brown
#7F2B0A
ΔE00 5.26
Reddy Brown
#6E1005
ΔE00 5.59
Crimson (survey)
#8C000F
ΔE00 5.62
Maroon
#800000
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A1C #1C707E
analogous
#7E1C3F #7E2A1C #7E5B1C
triadic
#7E2A1C #1C7E2A #2A1C7E
tetradic
#7E2A1C #3F7E1C #1C707E #5B1C7E
square
#7E2A1C #3F7E1C #1C707E #5B1C7E
split-complementary
#7E2A1C #1C7E5B #1C3F7E
monochromatic
#1A0906 #4C1911 #7E2A1C #B03B27 #D55540
Accessibility & contrast
On white
9.40
#7E2A1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7E2A1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A1C
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A1C | 1.00 | 9.40 | 2.24 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423B1A
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#8B1427
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2a1c; /* rgb */ color: rgb(126, 42, 28); /* oklch */ color: oklch(40.9% 0.119 31.9);
Tailwind
colors: {
custom: {
50: '#aa6859',
500: '#7e2a1c',
950: '#000000',
},
}SCSS
$custom: #7e2a1c; $custom-light: #aa6859; $custom-dark: #000000;
JSON
{
"hex": "#7e2a1c",
"rgb": {
"r": 126,
"g": 42,
"b": 28
},
"hsl": {
"h": 8.571,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.40885,
"c": 0.11939,
"h": 31.9
},
"luminance": 0.06175
}Semantic roles & 50–950 ramp
primary
#7E2A1C
secondary
#44A2B2
accent
#CFE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78