#7E2A20#7E2A20
#7E2A20 is a dark, moderate red. Relative luminance 0.062; OKLCH L 40.9% C 0.119 H 29.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A20 |
|---|---|
| RGB | rgb(126, 42, 32) |
| HSL | hsl(6, 59%, 31%) |
| HSV | hsv(6, 75%, 49%) |
| CMYK | cmyk(0%, 66.7%, 74.6%, 50.6%) |
| CIE-LAB | lab(29.90, 35.74, 25.92) |
| CIE-LCH | lch(29.90, 44.15, 35.95°) |
| OKLab | oklab(40.94% 0.1029 0.0589) |
| OKLCH | oklch(40.94% 0.119 29.8) |
| XYZ | xyz(9.6939, 6.1972, 2.0520) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 5.14
Crimson (survey)
#8C000F
ΔE00 5.57
Indian Red
#850E04
ΔE00 5.65
Reddy Brown
#6E1005
ΔE00 5.98
Maroon
#800000
ΔE00 6.21
Dark Red
#840000
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A20 #20747E
analogous
#7E2045 #7E2A20 #7E5920
triadic
#7E2A20 #207E2A #2A207E
tetradic
#7E2A20 #457E20 #20747E #59207E
square
#7E2A20 #457E20 #20747E #59207E
split-complementary
#7E2A20 #207E59 #20457E
monochromatic
#1C0907 #4D1A14 #7E2A20 #AF3A2C #D05648
Accessibility & contrast
On white
9.38
#7E2A20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7E2A20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A20
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A20 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#413B1E
Deuteranopia (green-blind)
#564D1D
Tritanopia (blue-blind)
#8B1528
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7e2a20; /* rgb */ color: rgb(126, 42, 32); /* oklch */ color: oklch(40.9% 0.119 29.8);
Tailwind
colors: {
custom: {
50: '#aa685c',
500: '#7e2a20',
950: '#000000',
},
}SCSS
$custom: #7e2a20; $custom-light: #aa685c; $custom-dark: #000000;
JSON
{
"hex": "#7e2a20",
"rgb": {
"r": 126,
"g": 42,
"b": 32
},
"hsl": {
"h": 6.383,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.40939,
"c": 0.11853,
"h": 29.8
},
"luminance": 0.06196
}Semantic roles & 50–950 ramp
primary
#7E2A20
secondary
#49A6B1
accent
#D2E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79