#7E2B1B#7E2B1B
#7E2B1B is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.0% C 0.119 H 32.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2B1B |
|---|---|
| RGB | rgb(126, 43, 27) |
| HSL | hsl(10, 65%, 30%) |
| HSV | hsv(10, 79%, 49%) |
| CMYK | cmyk(0%, 65.9%, 78.6%, 50.6%) |
| CIE-LAB | lab(30.02, 35.03, 29.04) |
| CIE-LCH | lch(30.02, 45.50, 39.65°) |
| OKLab | oklab(41.01% 0.0996 0.0644) |
| OKLCH | oklch(41.01% 0.119 32.9) |
| XYZ | xyz(9.6669, 6.2439, 1.7329) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.58
Reddish Brown
#7F2B0A
ΔE00 4.66
Indian Red
#850E04
ΔE00 4.88
Brick Red
#8F1402
ΔE00 5.57
Reddy Brown
#6E1005
ΔE00 5.72
Dark Red
#840000
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2B1B #1B6E7E
analogous
#7E1B3C #7E2B1B #7E5D1B
triadic
#7E2B1B #1B7E2B #2B1B7E
tetradic
#7E2B1B #3C7E1B #1B6E7E #5D1B7E
square
#7E2B1B #3C7E1B #1B6E7E #5D1B7E
split-complementary
#7E2B1B #1B7E5D #1B3C7E
monochromatic
#190905 #4C1A10 #7E2B1B #B03C26 #D6563E
Accessibility & contrast
On white
9.34
#7E2B1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7E2B1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2B1B
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2B1B | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423B19
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#8B1528
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e2b1b; /* rgb */ color: rgb(126, 43, 27); /* oklch */ color: oklch(41.0% 0.119 32.9);
Tailwind
colors: {
custom: {
50: '#aa6858',
500: '#7e2b1b',
950: '#000000',
},
}SCSS
$custom: #7e2b1b; $custom-light: #aa6858; $custom-dark: #000000;
JSON
{
"hex": "#7e2b1b",
"rgb": {
"r": 126,
"g": 43,
"b": 27
},
"hsl": {
"h": 9.697,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.41006,
"c": 0.11859,
"h": 32.9
},
"luminance": 0.06243
}Semantic roles & 50–950 ramp
primary
#7E2B1B
secondary
#43A0B2
accent
#CDE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78