#7E221F#7E221F
#7E221F is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.127 H 26.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E221F |
|---|---|
| RGB | rgb(126, 34, 31) |
| HSL | hsl(2, 61%, 31%) |
| HSV | hsv(2, 75%, 49%) |
| CMYK | cmyk(0%, 73%, 75.4%, 50.6%) |
| CIE-LAB | lab(28.59, 39.23, 25.04) |
| CIE-LCH | lch(28.59, 46.54, 32.55°) |
| OKLab | oklab(39.95% 0.1136 0.0568) |
| OKLCH | oklch(39.95% 0.127 26.6) |
| XYZ | xyz(9.4246, 5.6800, 1.8962) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.72
Burgundy
#800020
ΔE00 5.64
Blood
#770001
ΔE00 5.72
Reddy Brown
#6E1005
ΔE00 5.73
Indian Red
#850E04
ΔE00 5.87
Maroon
#800000
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E221F #1F7B7E
analogous
#7E1F4B #7E221F #7E511F
triadic
#7E221F #1F7E22 #221F7E
tetradic
#7E221F #4B7E1F #1F7B7E #511F7E
square
#7E221F #4B7E1F #1F7B7E #511F7E
split-complementary
#7E221F #1F7E51 #1F4B7E
monochromatic
#1C0707 #4D1513 #7E221F #AF2F2B #D14A46
Accessibility & contrast
On white
9.83
#7E221F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E221F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E221F
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E221F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E221F | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C371E
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#8B0222
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e221f; /* rgb */ color: rgb(126, 34, 31); /* oklch */ color: oklch(39.9% 0.127 26.6);
Tailwind
colors: {
custom: {
50: '#aa645b',
500: '#7e221f',
950: '#000000',
},
}SCSS
$custom: #7e221f; $custom-light: #aa645b; $custom-dark: #000000;
JSON
{
"hex": "#7e221f",
"rgb": {
"r": 126,
"g": 34,
"b": 31
},
"hsl": {
"h": 1.895,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.39949,
"c": 0.12695,
"h": 26.6
},
"luminance": 0.05679
}Semantic roles & 50–950 ramp
primary
#7E221F
secondary
#48AEB1
accent
#DFE444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79