#7E2B1F#7E2B1F
#7E2B1F is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.118 H 30.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2B1F |
|---|---|
| RGB | rgb(126, 43, 31) |
| HSL | hsl(8, 61%, 31%) |
| HSV | hsv(8, 75%, 49%) |
| CMYK | cmyk(0%, 65.9%, 75.4%, 50.6%) |
| CIE-LAB | lab(30.07, 35.22, 26.72) |
| CIE-LCH | lch(30.07, 44.21, 37.18°) |
| OKLab | oklab(41.06% 0.101 0.0604) |
| OKLCH | oklch(41.06% 0.118 30.9) |
| XYZ | xyz(9.7164, 6.2637, 1.9934) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.60
Indian Red
#850E04
ΔE00 5.46
Crimson (survey)
#8C000F
ΔE00 5.74
Reddy Brown
#6E1005
ΔE00 5.95
Reddish Brown
#7F2B0A
ΔE00 6.03
Maroon
#800000
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2B1F #1F727E
analogous
#7E1F42 #7E2B1F #7E5A1F
triadic
#7E2B1F #1F7E2B #2B1F7E
tetradic
#7E2B1F #427E1F #1F727E #5A1F7E
square
#7E2B1F #427E1F #1F727E #5A1F7E
split-complementary
#7E2B1F #1F7E5A #1F427E
monochromatic
#1C0907 #4D1A13 #7E2B1F #AF3C2B #D15846
Accessibility & contrast
On white
9.32
#7E2B1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7E2B1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2B1F
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2B1F | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423B1D
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#8B1629
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e2b1f; /* rgb */ color: rgb(126, 43, 31); /* oklch */ color: oklch(41.1% 0.118 30.9);
Tailwind
colors: {
custom: {
50: '#aa695b',
500: '#7e2b1f',
950: '#000000',
},
}SCSS
$custom: #7e2b1f; $custom-light: #aa695b; $custom-dark: #000000;
JSON
{
"hex": "#7e2b1f",
"rgb": {
"r": 126,
"g": 43,
"b": 31
},
"hsl": {
"h": 7.579,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.41058,
"c": 0.11768,
"h": 30.9
},
"luminance": 0.06262
}Semantic roles & 50–950 ramp
primary
#7E2B1F
secondary
#48A4B1
accent
#CFE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79