#7E2126#7E2126
#7E2126 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 22.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2126 |
|---|---|
| RGB | rgb(126, 33, 38) |
| HSL | hsl(357, 58%, 31%) |
| HSV | hsv(357, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 69.8%, 50.6%) |
| CIE-LAB | lab(28.55, 40.01, 20.53) |
| CIE-LCH | lch(28.55, 44.96, 27.16°) |
| OKLab | oklab(39.95% 0.1176 0.0481) |
| OKLCH | oklch(39.95% 0.127 22.3) |
| XYZ | xyz(9.4989, 5.6647, 2.4266) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.80
Wine Red
#7B0323
ΔE00 4.54
Wine
#722F37
ΔE00 6.29
Claret
#680018
ΔE00 6.38
Crimson (survey)
#8C000F
ΔE00 6.52
Rosewood
#65000B
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2126 #217E79
analogous
#7E2154 #7E2126 #7E4A21
triadic
#7E2126 #267E21 #21267E
tetradic
#7E2126 #547E21 #217E79 #4A217E
square
#7E2126 #547E21 #217E79 #4A217E
split-complementary
#7E2126 #217E4A #21547E
monochromatic
#1D0809 #4E1417 #7E2126 #AE2E35 #D04A51
Accessibility & contrast
On white
9.85
#7E2126 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E2126 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2126
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2126 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2126 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3725
Deuteranopia (green-blind)
#524B23
Tritanopia (blue-blind)
#8B0224
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e2126; /* rgb */ color: rgb(126, 33, 38); /* oklch */ color: oklch(40.0% 0.127 22.3);
Tailwind
colors: {
custom: {
50: '#aa6460',
500: '#7e2126',
950: '#000000',
},
}SCSS
$custom: #7e2126; $custom-light: #aa6460; $custom-dark: #000000;
JSON
{
"hex": "#7e2126",
"rgb": {
"r": 126,
"g": 33,
"b": 38
},
"hsl": {
"h": 356.774,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.39954,
"c": 0.12709,
"h": 22.3
},
"luminance": 0.05663
}Semantic roles & 50–950 ramp
primary
#7E2126
secondary
#4AB1AB
accent
#E2D946
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79