#7E2F1A#7E2F1A
#7E2F1A is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.115 H 35.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2F1A |
|---|---|
| RGB | rgb(126, 47, 26) |
| HSL | hsl(13, 66%, 30%) |
| HSV | hsv(13, 79%, 49%) |
| CMYK | cmyk(0%, 62.7%, 79.4%, 50.6%) |
| CIE-LAB | lab(30.75, 33.03, 30.38) |
| CIE-LCH | lch(30.75, 44.87, 42.61°) |
| OKLab | oklab(41.55% 0.0932 0.0671) |
| OKLCH | oklch(41.55% 0.115 35.8) |
| XYZ | xyz(9.8082, 6.5446, 1.7238) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.89
Reddish Brown
#7F2B0A
ΔE00 3.37
Chestnut
#742802
ΔE00 5.09
Indian Red
#850E04
ΔE00 5.61
Brown Red
#922B05
ΔE00 5.68
Brick Red
#8F1402
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2F1A #1A697E
analogous
#7E1A37 #7E2F1A #7E611A
triadic
#7E2F1A #1A7E2F #2F1A7E
tetradic
#7E2F1A #377E1A #1A697E #611A7E
square
#7E2F1A #377E1A #1A697E #611A7E
split-complementary
#7E2F1A #1A7E61 #1A377E
monochromatic
#190905 #4B1C10 #7E2F1A #B14224 #D75C3C
Accessibility & contrast
On white
9.10
#7E2F1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#7E2F1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2F1A
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2F1A | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453D17
Deuteranopia (green-blind)
#594F17
Tritanopia (blue-blind)
#8B1C2B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2f1a; /* rgb */ color: rgb(126, 47, 26); /* oklch */ color: oklch(41.6% 0.115 35.8);
Tailwind
colors: {
custom: {
50: '#aa6b58',
500: '#7e2f1a',
950: '#000000',
},
}SCSS
$custom: #7e2f1a; $custom-light: #aa6b58; $custom-dark: #000000;
JSON
{
"hex": "#7e2f1a",
"rgb": {
"r": 126,
"g": 47,
"b": 26
},
"hsl": {
"h": 12.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.41551,
"c": 0.11478,
"h": 35.8
},
"luminance": 0.06543
}Semantic roles & 50–950 ramp
primary
#7E2F1A
secondary
#429AB2
accent
#C5E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78