#7E212B#7E212B
#7E212B is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.127 H 19.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7E212B |
|---|---|
| RGB | rgb(126, 33, 43) |
| HSL | hsl(354, 58%, 31%) |
| HSV | hsv(354, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 65.9%, 50.6%) |
| CIE-LAB | lab(28.64, 40.32, 17.37) |
| CIE-LCH | lch(28.64, 43.90, 23.31°) |
| OKLab | oklab(40.05% 0.1197 0.0417) |
| OKLCH | oklch(40.05% 0.127 19.2) |
| XYZ | xyz(9.5851, 5.6991, 2.8804) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.63
Wine Red
#7B0323
ΔE00 3.68
Wine
#722F37
ΔE00 5.05
Bordeaux
#7B002C
ΔE00 5.72
Red Wine
#8C0034
ΔE00 6.01
Claret
#680018
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E212B #217E74
analogous
#7E2159 #7E212B #7E4521
triadic
#7E212B #2B7E21 #212B7E
tetradic
#7E212B #597E21 #217E74 #45217E
square
#7E212B #597E21 #217E74 #45217E
split-complementary
#7E212B #217E45 #21597E
monochromatic
#1D080A #4E141A #7E212B #AE2E3C #D04A58
Accessibility & contrast
On white
9.81
#7E212B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E212B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E212B
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E212B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E212B | 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)
#3A372B
Deuteranopia (green-blind)
#524B28
Tritanopia (blue-blind)
#8B0425
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e212b; /* rgb */ color: rgb(126, 33, 43); /* oklch */ color: oklch(40.1% 0.127 19.2);
Tailwind
colors: {
custom: {
50: '#aa6464',
500: '#7e212b',
950: '#000000',
},
}SCSS
$custom: #7e212b; $custom-light: #aa6464; $custom-dark: #000000;
JSON
{
"hex": "#7e212b",
"rgb": {
"r": 126,
"g": 33,
"b": 43
},
"hsl": {
"h": 353.548,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.4005,
"c": 0.12674,
"h": 19.2
},
"luminance": 0.05698
}Semantic roles & 50–950 ramp
primary
#7E212B
secondary
#4AB1A6
accent
#E2D146
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79