#7E221B#7E221B
#7E221B is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.128 H 28.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E221B |
|---|---|
| RGB | rgb(126, 34, 27) |
| HSL | hsl(4, 65%, 30%) |
| HSV | hsv(4, 79%, 49%) |
| CMYK | cmyk(0%, 73%, 78.6%, 50.6%) |
| CIE-LAB | lab(28.54, 39.04, 27.44) |
| CIE-LCH | lch(28.54, 47.72, 35.10°) |
| OKLab | oklab(39.89% 0.1121 0.061) |
| OKLCH | oklch(39.89% 0.128 28.6) |
| XYZ | xyz(9.3751, 5.6602, 1.6356) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.25
Indian Red
#850E04
ΔE00 4.66
Reddy Brown
#6E1005
ΔE00 4.90
Maroon
#800000
ΔE00 4.92
Blood
#770001
ΔE00 4.93
Dark Red
#840000
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E221B #1B777E
analogous
#7E1B46 #7E221B #7E531B
triadic
#7E221B #1B7E22 #221B7E
tetradic
#7E221B #467E1B #1B777E #531B7E
square
#7E221B #467E1B #1B777E #531B7E
split-complementary
#7E221B #1B7E53 #1B467E
monochromatic
#190705 #4C1410 #7E221B #B03026 #D6493E
Accessibility & contrast
On white
9.85
#7E221B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E221B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E221B
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E221B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E221B | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3719
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e221b; /* rgb */ color: rgb(126, 34, 27); /* oklch */ color: oklch(39.9% 0.128 28.6);
Tailwind
colors: {
custom: {
50: '#ab6458',
500: '#7e221b',
950: '#000000',
},
}SCSS
$custom: #7e221b; $custom-light: #ab6458; $custom-dark: #000000;
JSON
{
"hex": "#7e221b",
"rgb": {
"r": 126,
"g": 34,
"b": 27
},
"hsl": {
"h": 4.242,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.39894,
"c": 0.12761,
"h": 28.6
},
"luminance": 0.05659
}Semantic roles & 50–950 ramp
primary
#7E221B
secondary
#43AAB2
accent
#DCE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78