#7E2A1F#7E2A1F
#7E2A1F is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.119 H 30.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A1F |
|---|---|
| RGB | rgb(126, 42, 31) |
| HSL | hsl(7, 61%, 31%) |
| HSV | hsv(7, 75%, 49%) |
| CMYK | cmyk(0%, 66.7%, 75.4%, 50.6%) |
| CIE-LAB | lab(29.89, 35.69, 26.52) |
| CIE-LCH | lch(29.89, 44.47, 36.61°) |
| OKLab | oklab(40.92% 0.1025 0.06) |
| OKLCH | oklch(40.92% 0.119 30.3) |
| XYZ | xyz(9.6805, 6.1919, 1.9815) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.84
Indian Red
#850E04
ΔE00 5.43
Crimson (survey)
#8C000F
ΔE00 5.55
Reddy Brown
#6E1005
ΔE00 5.85
Maroon
#800000
ΔE00 6.05
Dark Red
#840000
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A1F #1F737E
analogous
#7E1F43 #7E2A1F #7E591F
triadic
#7E2A1F #1F7E2A #2A1F7E
tetradic
#7E2A1F #437E1F #1F737E #591F7E
square
#7E2A1F #437E1F #1F737E #591F7E
split-complementary
#7E2A1F #1F7E59 #1F437E
monochromatic
#1C0907 #4D1A13 #7E2A1F #AF3A2B #D15646
Accessibility & contrast
On white
9.38
#7E2A1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7E2A1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A1F
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A1F | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413B1D
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#8B1428
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2a1f; /* rgb */ color: rgb(126, 42, 31); /* oklch */ color: oklch(40.9% 0.119 30.3);
Tailwind
colors: {
custom: {
50: '#aa685b',
500: '#7e2a1f',
950: '#000000',
},
}SCSS
$custom: #7e2a1f; $custom-light: #aa685b; $custom-dark: #000000;
JSON
{
"hex": "#7e2a1f",
"rgb": {
"r": 126,
"g": 42,
"b": 31
},
"hsl": {
"h": 6.947,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.40925,
"c": 0.11873,
"h": 30.3
},
"luminance": 0.0619
}Semantic roles & 50–950 ramp
primary
#7E2A1F
secondary
#48A5B1
accent
#D1E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79