#7E2128#7E2128
#7E2128 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 21.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2128 |
|---|---|
| RGB | rgb(126, 33, 40) |
| HSL | hsl(355, 58%, 31%) |
| HSV | hsv(355, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 68.3%, 50.6%) |
| CIE-LAB | lab(28.58, 40.13, 19.27) |
| CIE-LCH | lch(28.58, 44.51, 25.65°) |
| OKLab | oklab(39.99% 0.1185 0.0456) |
| OKLCH | oklch(39.99% 0.127 21.1) |
| XYZ | xyz(9.5321, 5.6779, 2.6011) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.60
Wine Red
#7B0323
ΔE00 4.11
Wine
#722F37
ΔE00 5.76
Claret
#680018
ΔE00 6.26
Bordeaux
#7B002C
ΔE00 6.66
Red Wine
#8C0034
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2128 #217E77
analogous
#7E2156 #7E2128 #7E4821
triadic
#7E2128 #287E21 #21287E
tetradic
#7E2128 #567E21 #217E77 #48217E
square
#7E2128 #567E21 #217E77 #48217E
split-complementary
#7E2128 #217E48 #21567E
monochromatic
#1D0809 #4E1419 #7E2128 #AE2E37 #D04A54
Accessibility & contrast
On white
9.83
#7E2128 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E2128 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2128
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2128 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2128 | 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)
#3B3728
Deuteranopia (green-blind)
#524B25
Tritanopia (blue-blind)
#8B0324
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e2128; /* rgb */ color: rgb(126, 33, 40); /* oklch */ color: oklch(40.0% 0.127 21.1);
Tailwind
colors: {
custom: {
50: '#aa6461',
500: '#7e2128',
950: '#000000',
},
}SCSS
$custom: #7e2128; $custom-light: #aa6461; $custom-dark: #000000;
JSON
{
"hex": "#7e2128",
"rgb": {
"r": 126,
"g": 33,
"b": 40
},
"hsl": {
"h": 355.484,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.39991,
"c": 0.12692,
"h": 21.1
},
"luminance": 0.05677
}Semantic roles & 50–950 ramp
primary
#7E2128
secondary
#4AB1A9
accent
#E2D646
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79