#7E2F26#7E2F26
#7E2F26 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.112 H 29.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2F26 |
|---|---|
| RGB | rgb(126, 47, 38) |
| HSL | hsl(6, 54%, 32%) |
| HSV | hsv(6, 70%, 49%) |
| CMYK | cmyk(0%, 62.7%, 69.8%, 50.6%) |
| CIE-LAB | lab(30.90, 33.66, 23.39) |
| CIE-LCH | lch(30.90, 40.98, 34.80°) |
| OKLab | oklab(41.72% 0.0976 0.0545) |
| OKLCH | oklch(41.72% 0.112 29.2) |
| XYZ | xyz(9.9715, 6.6099, 2.5841) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 5.85
Crimson (survey)
#8C000F
ΔE00 6.73
Indian Red
#850E04
ΔE00 7.05
Reddy Brown
#6E1005
ΔE00 7.24
Reddish Brown
#7F2B0A
ΔE00 7.52
Brownish Red
#9E3623
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2F26 #26757E
analogous
#7E2649 #7E2F26 #7E5B26
triadic
#7E2F26 #267E2F #2F267E
tetradic
#7E2F26 #497E26 #26757E #5B267E
square
#7E2F26 #497E26 #26757E #5B267E
split-complementary
#7E2F26 #267E5B #26497E
monochromatic
#200C0A #4F1D18 #7E2F26 #AD4134 #CB5F53
Accessibility & contrast
On white
9.04
#7E2F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#7E2F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2F26
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2F26 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443E25
Deuteranopia (green-blind)
#584F24
Tritanopia (blue-blind)
#8B1E2D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e2f26; /* rgb */ color: rgb(126, 47, 38); /* oklch */ color: oklch(41.7% 0.112 29.2);
Tailwind
colors: {
custom: {
50: '#a96b60',
500: '#7e2f26',
950: '#000000',
},
}SCSS
$custom: #7e2f26; $custom-light: #a96b60; $custom-dark: #000000;
JSON
{
"hex": "#7e2f26",
"rgb": {
"r": 126,
"g": 47,
"b": 38
},
"hsl": {
"h": 6.136,
"s": 53.659,
"l": 32.157
},
"oklch": {
"l": 0.41717,
"c": 0.11177,
"h": 29.2
},
"luminance": 0.06609
}Semantic roles & 50–950 ramp
primary
#7E2F26
secondary
#50A6B0
accent
#CEDD4B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110705
muted
#807A79