#7E2F1C#7E2F1C
#7E2F1C is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.6% C 0.114 H 34.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2F1C |
|---|---|
| RGB | rgb(126, 47, 28) |
| HSL | hsl(12, 64%, 30%) |
| HSV | hsv(12, 78%, 49%) |
| CMYK | cmyk(0%, 62.7%, 77.8%, 50.6%) |
| CIE-LAB | lab(30.77, 33.12, 29.26) |
| CIE-LCH | lch(30.77, 44.19, 41.46°) |
| OKLab | oklab(41.57% 0.0938 0.0652) |
| OKLCH | oklch(41.57% 0.114 34.8) |
| XYZ | xyz(9.8313, 6.5538, 1.8457) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.15
Reddish Brown
#7F2B0A
ΔE00 4.00
Indian Red
#850E04
ΔE00 5.63
Chestnut
#742802
ΔE00 5.67
Brick Red
#8F1402
ΔE00 5.92
Brown Red
#922B05
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2F1C #1C6B7E
analogous
#7E1C3A #7E2F1C #7E601C
triadic
#7E2F1C #1C7E2F #2F1C7E
tetradic
#7E2F1C #3A7E1C #1C6B7E #601C7E
square
#7E2F1C #3A7E1C #1C6B7E #601C7E
split-complementary
#7E2F1C #1C7E60 #1C3A7E
monochromatic
#1A0A06 #4C1C11 #7E2F1C #B04227 #D55D40
Accessibility & contrast
On white
9.09
#7E2F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7E2F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2F1C
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2F1C | 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)
#453D1A
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#8B1C2B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2f1c; /* rgb */ color: rgb(126, 47, 28); /* oklch */ color: oklch(41.6% 0.114 34.8);
Tailwind
colors: {
custom: {
50: '#aa6b59',
500: '#7e2f1c',
950: '#000000',
},
}SCSS
$custom: #7e2f1c; $custom-light: #aa6b59; $custom-dark: #000000;
JSON
{
"hex": "#7e2f1c",
"rgb": {
"r": 126,
"g": 47,
"b": 28
},
"hsl": {
"h": 11.633,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.41574,
"c": 0.11425,
"h": 34.8
},
"luminance": 0.06552
}Semantic roles & 50–950 ramp
primary
#7E2F1C
secondary
#449CB2
accent
#C7E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78