#7E2D21#7E2D21
#7E2D21 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.115 H 30.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2D21 |
|---|---|
| RGB | rgb(126, 45, 33) |
| HSL | hsl(8, 58%, 31%) |
| HSV | hsv(8, 74%, 49%) |
| CMYK | cmyk(0%, 64.3%, 73.8%, 50.6%) |
| CIE-LAB | lab(30.46, 34.36, 25.95) |
| CIE-LCH | lch(30.46, 43.05, 37.06°) |
| OKLab | oklab(41.36% 0.0987 0.0592) |
| OKLCH | oklch(41.36% 0.115 30.9) |
| XYZ | xyz(9.8181, 6.4236, 2.1614) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.72
Indian Red
#850E04
ΔE00 5.93
Crimson (survey)
#8C000F
ΔE00 6.15
Reddish Brown
#7F2B0A
ΔE00 6.21
Reddy Brown
#6E1005
ΔE00 6.37
Maroon
#800000
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2D21 #21727E
analogous
#7E2143 #7E2D21 #7E5B21
triadic
#7E2D21 #217E2D #2D217E
tetradic
#7E2D21 #437E21 #21727E #5B217E
square
#7E2D21 #437E21 #21727E #5B217E
split-complementary
#7E2D21 #217E5B #21437E
monochromatic
#1D0A08 #4E1C14 #7E2D21 #AE3E2E #D05B4A
Accessibility & contrast
On white
9.19
#7E2D21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7E2D21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2D21
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2D21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2D21 | 1.00 | 9.19 | 2.28 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#433D1F
Deuteranopia (green-blind)
#574E1F
Tritanopia (blue-blind)
#8B1A2B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7e2d21; /* rgb */ color: rgb(126, 45, 33); /* oklch */ color: oklch(41.4% 0.115 30.9);
Tailwind
colors: {
custom: {
50: '#aa6a5d',
500: '#7e2d21',
950: '#000000',
},
}SCSS
$custom: #7e2d21; $custom-light: #aa6a5d; $custom-dark: #000000;
JSON
{
"hex": "#7e2d21",
"rgb": {
"r": 126,
"g": 45,
"b": 33
},
"hsl": {
"h": 7.742,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.41359,
"c": 0.1151,
"h": 30.9
},
"luminance": 0.06422
}Semantic roles & 50–950 ramp
primary
#7E2D21
secondary
#4AA3B1
accent
#CEE246
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79