#7E2F22#7E2F22
#7E2F22 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.113 H 31.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2F22 |
|---|---|
| RGB | rgb(126, 47, 34) |
| HSL | hsl(8, 58%, 31%) |
| HSV | hsv(8, 73%, 49%) |
| CMYK | cmyk(0%, 62.7%, 73%, 50.6%) |
| CIE-LAB | lab(30.84, 33.42, 25.78) |
| CIE-LCH | lch(30.84, 42.21, 37.65°) |
| OKLab | oklab(41.66% 0.096 0.059) |
| OKLCH | oklch(41.66% 0.113 31.6) |
| XYZ | xyz(9.9104, 6.5855, 2.2623) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.57
Reddish Brown
#7F2B0A
ΔE00 6.05
Indian Red
#850E04
ΔE00 6.23
Crimson (survey)
#8C000F
ΔE00 6.58
Reddy Brown
#6E1005
ΔE00 6.72
Brick Red
#8F1402
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2F22 #22717E
analogous
#7E2243 #7E2F22 #7E5D22
triadic
#7E2F22 #227E2F #2F227E
tetradic
#7E2F22 #437E22 #22717E #5D227E
square
#7E2F22 #437E22 #22717E #5D227E
split-complementary
#7E2F22 #227E5D #22437E
monochromatic
#1E0B08 #4E1D15 #7E2F22 #AE412F #CF5E4C
Accessibility & contrast
On white
9.06
#7E2F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#7E2F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2F22
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2F22 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443E20
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#8B1D2C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7e2f22; /* rgb */ color: rgb(126, 47, 34); /* oklch */ color: oklch(41.7% 0.113 31.6);
Tailwind
colors: {
custom: {
50: '#a96b5d',
500: '#7e2f22',
950: '#000000',
},
}SCSS
$custom: #7e2f22; $custom-light: #a96b5d; $custom-dark: #000000;
JSON
{
"hex": "#7e2f22",
"rgb": {
"r": 126,
"g": 47,
"b": 34
},
"hsl": {
"h": 8.478,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.41655,
"c": 0.11272,
"h": 31.6
},
"luminance": 0.06584
}Semantic roles & 50–950 ramp
primary
#7E2F22
secondary
#4BA2B1
accent
#CBE147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79