#7E2F1D#7E2F1D
#7E2F1D is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.6% C 0.114 H 34.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2F1D |
|---|---|
| RGB | rgb(126, 47, 29) |
| HSL | hsl(11, 63%, 30%) |
| HSV | hsv(11, 77%, 49%) |
| CMYK | cmyk(0%, 62.7%, 77%, 50.6%) |
| CIE-LAB | lab(30.78, 33.17, 28.69) |
| CIE-LCH | lch(30.78, 43.85, 40.86°) |
| OKLab | oklab(41.59% 0.0942 0.0642) |
| OKLCH | oklch(41.59% 0.114 34.3) |
| XYZ | xyz(9.8435, 6.5587, 1.9098) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.33
Reddish Brown
#7F2B0A
ΔE00 4.32
Indian Red
#850E04
ΔE00 5.67
Chestnut
#742802
ΔE00 5.97
Brick Red
#8F1402
ΔE00 6.03
Brown Red
#922B05
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2F1D #1D6C7E
analogous
#7E1D3B #7E2F1D #7E5F1D
triadic
#7E2F1D #1D7E2F #2F1D7E
tetradic
#7E2F1D #3B7E1D #1D6C7E #5F1D7E
square
#7E2F1D #3B7E1D #1D6C7E #5F1D7E
split-complementary
#7E2F1D #1D7E5F #1D3B7E
monochromatic
#1B0A06 #4C1C12 #7E2F1D #B04228 #D35D42
Accessibility & contrast
On white
9.09
#7E2F1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7E2F1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2F1D
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2F1D | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453E1B
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#8B1C2B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2f1d; /* rgb */ color: rgb(126, 47, 29); /* oklch */ color: oklch(41.6% 0.114 34.3);
Tailwind
colors: {
custom: {
50: '#aa6b5a',
500: '#7e2f1d',
950: '#000000',
},
}SCSS
$custom: #7e2f1d; $custom-light: #aa6b5a; $custom-dark: #000000;
JSON
{
"hex": "#7e2f1d",
"rgb": {
"r": 126,
"g": 47,
"b": 29
},
"hsl": {
"h": 11.134,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.41587,
"c": 0.11399,
"h": 34.3
},
"luminance": 0.06557
}Semantic roles & 50–950 ramp
primary
#7E2F1D
secondary
#459DB1
accent
#C7E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79