#7E221D#7E221D
#7E221D is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.127 H 27.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E221D |
|---|---|
| RGB | rgb(126, 34, 29) |
| HSL | hsl(3, 63%, 30%) |
| HSV | hsv(3, 77%, 49%) |
| CMYK | cmyk(0%, 73%, 77%, 50.6%) |
| CIE-LAB | lab(28.56, 39.13, 26.25) |
| CIE-LCH | lch(28.56, 47.12, 33.85°) |
| OKLab | oklab(39.92% 0.1128 0.0589) |
| OKLCH | oklch(39.92% 0.127 27.6) |
| XYZ | xyz(9.3990, 5.6698, 1.7616) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.43
Indian Red
#850E04
ΔE00 5.24
Reddy Brown
#6E1005
ΔE00 5.28
Blood
#770001
ΔE00 5.29
Maroon
#800000
ΔE00 5.40
Dark Red
#840000
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E221D #1D797E
analogous
#7E1D48 #7E221D #7E521D
triadic
#7E221D #1D7E22 #221D7E
tetradic
#7E221D #487E1D #1D797E #521D7E
square
#7E221D #487E1D #1D797E #521D7E
split-complementary
#7E221D #1D7E52 #1D487E
monochromatic
#1B0706 #4C1512 #7E221D #B02F28 #D34942
Accessibility & contrast
On white
9.84
#7E221D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E221D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E221D
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E221D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E221D | 1.00 | 9.84 | 2.13 | 9.84 |
| #FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#8B0122
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e221d; /* rgb */ color: rgb(126, 34, 29); /* oklch */ color: oklch(39.9% 0.127 27.6);
Tailwind
colors: {
custom: {
50: '#ab6459',
500: '#7e221d',
950: '#000000',
},
}SCSS
$custom: #7e221d; $custom-light: #ab6459; $custom-dark: #000000;
JSON
{
"hex": "#7e221d",
"rgb": {
"r": 126,
"g": 34,
"b": 29
},
"hsl": {
"h": 3.093,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.39921,
"c": 0.12727,
"h": 27.6
},
"luminance": 0.05668
}Semantic roles & 50–950 ramp
primary
#7E221D
secondary
#45ACB1
accent
#DDE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78