#7E221E#7E221E
#7E221E is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.127 H 27.1°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7E221E |
|---|---|
| RGB | rgb(126, 34, 30) |
| HSL | hsl(3, 62%, 31%) |
| HSV | hsv(3, 76%, 49%) |
| CMYK | cmyk(0%, 73%, 76.2%, 50.6%) |
| CIE-LAB | lab(28.58, 39.18, 25.65) |
| CIE-LCH | lch(28.58, 46.83, 33.21°) |
| OKLab | oklab(39.93% 0.1132 0.0579) |
| OKLCH | oklch(39.93% 0.127 27.1) |
| XYZ | xyz(9.4116, 5.6748, 1.8278) |
| Luminance | 0.0567 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.56
Blood
#770001
ΔE00 5.50
Reddy Brown
#6E1005
ΔE00 5.50
Indian Red
#850E04
ΔE00 5.55
Maroon
#800000
ΔE00 5.66
Dark Red
#840000
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E221E #1E7A7E
analogous
#7E1E4A #7E221E #7E521E
triadic
#7E221E #1E7E22 #221E7E
tetradic
#7E221E #4A7E1E #1E7A7E #521E7E
square
#7E221E #4A7E1E #1E7A7E #521E7E
split-complementary
#7E221E #1E7E52 #1E4A7E
monochromatic
#1B0706 #4D1512 #7E221E #AF2F2A #D24A44
Accessibility & contrast
On white
9.84
#7E221E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E221E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E221E
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E221E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E221E | 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)
#3D371D
Deuteranopia (green-blind)
#534B1B
Tritanopia (blue-blind)
#8B0122
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e221e; /* rgb */ color: rgb(126, 34, 30); /* oklch */ color: oklch(39.9% 0.127 27.1);
Tailwind
colors: {
custom: {
50: '#ab645a',
500: '#7e221e',
950: '#000000',
},
}SCSS
$custom: #7e221e; $custom-light: #ab645a; $custom-dark: #000000;
JSON
{
"hex": "#7e221e",
"rgb": {
"r": 126,
"g": 34,
"b": 30
},
"hsl": {
"h": 2.5,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.39935,
"c": 0.12711,
"h": 27.1
},
"luminance": 0.05673
}Semantic roles & 50–950 ramp
primary
#7E221E
secondary
#47ADB1
accent
#DEE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78