#7E342A#7E342A
#7E342A is a dark, moderate red. Relative luminance 0.071; OKLCH L 42.5% C 0.105 H 29.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7E342A |
|---|---|
| RGB | rgb(126, 52, 42) |
| HSL | hsl(7, 50%, 33%) |
| HSV | hsv(7, 67%, 49%) |
| CMYK | cmyk(0%, 58.7%, 66.7%, 50.6%) |
| CIE-LAB | lab(31.94, 31.35, 22.17) |
| CIE-LCH | lch(31.94, 38.39, 35.26°) |
| OKLab | oklab(42.52% 0.0912 0.0523) |
| OKLCH | oklch(42.52% 0.105 29.8) |
| XYZ | xyz(10.2510, 7.0601, 3.0130) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 6.08
Brownish Red
#9E3623
ΔE00 7.49
Reddish Brown
#7F2B0A
ΔE00 7.77
Brick
#A03623
ΔE00 7.85
Crimson (survey)
#8C000F
ΔE00 7.86
Brown
#A52A2A
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E342A #2A747E
analogous
#7E2A4A #7E342A #7E5E2A
triadic
#7E342A #2A7E34 #342A7E
tetradic
#7E342A #4A7E2A #2A747E #5E2A7E
square
#7E342A #4A7E2A #2A747E #5E2A7E
split-complementary
#7E342A #2A7E5E #2A4A7E
monochromatic
#220E0B #50211B #7E342A #AC4739 #C8675A
Accessibility & contrast
On white
8.71
#7E342A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#7E342A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E342A
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E342A | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474129
Deuteranopia (green-blind)
#595128
Tritanopia (blue-blind)
#8A2632
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e342a; /* rgb */ color: rgb(126, 52, 42); /* oklch */ color: oklch(42.5% 0.105 29.8);
Tailwind
colors: {
custom: {
50: '#a96e63',
500: '#7e342a',
950: '#000000',
},
}SCSS
$custom: #7e342a; $custom-light: #a96e63; $custom-dark: #000000;
JSON
{
"hex": "#7e342a",
"rgb": {
"r": 126,
"g": 52,
"b": 42
},
"hsl": {
"h": 7.143,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.42524,
"c": 0.10516,
"h": 29.8
},
"luminance": 0.07059
}Semantic roles & 50–950 ramp
primary
#7E342A
secondary
#56A3AE
accent
#C9DA4E
background
#FAF6F5
surface
#F5ECEA
border
#CFC7C6
text
#110705
muted
#807A79