#7E2224#7E2224
#7E2224 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.126 H 23.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2224 |
|---|---|
| RGB | rgb(126, 34, 36) |
| HSL | hsl(359, 58%, 31%) |
| HSV | hsv(359, 73%, 49%) |
| CMYK | cmyk(0%, 73%, 71.4%, 50.6%) |
| CIE-LAB | lab(28.66, 39.49, 21.96) |
| CIE-LCH | lch(28.66, 45.18, 29.08°) |
| OKLab | oklab(40.03% 0.1155 0.051) |
| OKLCH | oklch(40.03% 0.126 23.8) |
| XYZ | xyz(9.4957, 5.7085, 2.2706) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.40
Wine Red
#7B0323
ΔE00 5.32
Crimson (survey)
#8C000F
ΔE00 5.87
Claret
#680018
ΔE00 6.79
Wine
#722F37
ΔE00 6.92
Rosewood
#65000B
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2224 #227E7C
analogous
#7E2252 #7E2224 #7E4E22
triadic
#7E2224 #247E22 #22247E
tetradic
#7E2224 #527E22 #227E7C #4E227E
square
#7E2224 #527E22 #227E7C #4E227E
split-complementary
#7E2224 #227E4E #22527E
monochromatic
#1E0808 #4E1516 #7E2224 #AE2F32 #CF4C4F
Accessibility & contrast
On white
9.81
#7E2224 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E2224 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2224
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2224 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2224 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3723
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#8B0424
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e2224; /* rgb */ color: rgb(126, 34, 36); /* oklch */ color: oklch(40.0% 0.126 23.8);
Tailwind
colors: {
custom: {
50: '#aa645e',
500: '#7e2224',
950: '#000000',
},
}SCSS
$custom: #7e2224; $custom-light: #aa645e; $custom-dark: #000000;
JSON
{
"hex": "#7e2224",
"rgb": {
"r": 126,
"g": 34,
"b": 36
},
"hsl": {
"h": 358.696,
"s": 57.5,
"l": 31.373
},
"oklch": {
"l": 0.40029,
"c": 0.12627,
"h": 23.8
},
"luminance": 0.05707
}Semantic roles & 50–950 ramp
primary
#7E2224
secondary
#4BB1AE
accent
#E1DD47
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79