#7E2F1B#7E2F1B
#7E2F1B is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.115 H 35.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2F1B |
|---|---|
| RGB | rgb(126, 47, 27) |
| HSL | hsl(12, 65%, 30%) |
| HSV | hsv(12, 79%, 49%) |
| CMYK | cmyk(0%, 62.7%, 78.6%, 50.6%) |
| CIE-LAB | lab(30.76, 33.07, 29.82) |
| CIE-LCH | lch(30.76, 44.53, 42.04°) |
| OKLab | oklab(41.56% 0.0935 0.0661) |
| OKLCH | oklch(41.56% 0.115 35.3) |
| XYZ | xyz(9.8196, 6.5491, 1.7837) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.00
Reddish Brown
#7F2B0A
ΔE00 3.68
Chestnut
#742802
ΔE00 5.38
Indian Red
#850E04
ΔE00 5.61
Brick Red
#8F1402
ΔE00 5.82
Brown Red
#922B05
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2F1B #1B6A7E
analogous
#7E1B39 #7E2F1B #7E601B
triadic
#7E2F1B #1B7E2F #2F1B7E
tetradic
#7E2F1B #397E1B #1B6A7E #601B7E
square
#7E2F1B #397E1B #1B6A7E #601B7E
split-complementary
#7E2F1B #1B7E60 #1B397E
monochromatic
#190905 #4C1C10 #7E2F1B #B04226 #D65C3E
Accessibility & contrast
On white
9.09
#7E2F1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7E2F1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2F1B
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2F1B | 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)
#453D18
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#8B1C2B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2f1b; /* rgb */ color: rgb(126, 47, 27); /* oklch */ color: oklch(41.6% 0.115 35.3);
Tailwind
colors: {
custom: {
50: '#aa6b58',
500: '#7e2f1b',
950: '#000000',
},
}SCSS
$custom: #7e2f1b; $custom-light: #aa6b58; $custom-dark: #000000;
JSON
{
"hex": "#7e2f1b",
"rgb": {
"r": 126,
"g": 47,
"b": 27
},
"hsl": {
"h": 12.121,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.41562,
"c": 0.11452,
"h": 35.3
},
"luminance": 0.06548
}Semantic roles & 50–950 ramp
primary
#7E2F1B
secondary
#439BB2
accent
#C6E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78