#7E2122#7E2122
#7E2122 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.128 H 24.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2122 |
|---|---|
| RGB | rgb(126, 33, 34) |
| HSL | hsl(359, 58%, 31%) |
| HSV | hsv(359, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 73%, 50.6%) |
| CIE-LAB | lab(28.49, 39.78, 23.02) |
| CIE-LCH | lch(28.49, 45.97, 30.06°) |
| OKLab | oklab(39.89% 0.116 0.053) |
| OKLCH | oklch(39.89% 0.128 24.5) |
| XYZ | xyz(9.4378, 5.6402, 2.1048) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.58
Crimson (survey)
#8C000F
ΔE00 5.38
Wine Red
#7B0323
ΔE00 5.63
Blood
#770001
ΔE00 6.54
Reddy Brown
#6E1005
ΔE00 6.60
Rosewood
#65000B
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2122 #217E7D
analogous
#7E2150 #7E2122 #7E4E21
triadic
#7E2122 #227E21 #21227E
tetradic
#7E2122 #507E21 #217E7D #4E217E
square
#7E2122 #507E21 #217E7D #4E217E
split-complementary
#7E2122 #217E4E #21507E
monochromatic
#1D0808 #4E1415 #7E2122 #AE2E2F #D04A4B
Accessibility & contrast
On white
9.87
#7E2122 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E2122 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2122
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2122 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2122 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3621
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#8B0122
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e2122; /* rgb */ color: rgb(126, 33, 34); /* oklch */ color: oklch(39.9% 0.128 24.5);
Tailwind
colors: {
custom: {
50: '#aa635d',
500: '#7e2122',
950: '#000000',
},
}SCSS
$custom: #7e2122; $custom-light: #aa635d; $custom-dark: #000000;
JSON
{
"hex": "#7e2122",
"rgb": {
"r": 126,
"g": 33,
"b": 34
},
"hsl": {
"h": 359.355,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.39885,
"c": 0.12754,
"h": 24.5
},
"luminance": 0.05639
}Semantic roles & 50–950 ramp
primary
#7E2122
secondary
#4AB1B0
accent
#E2E046
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79