#7E212A#7E212A
#7E212A is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 19.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E212A |
|---|---|
| RGB | rgb(126, 33, 42) |
| HSL | hsl(354, 58%, 31%) |
| HSV | hsv(354, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 66.7%, 50.6%) |
| CIE-LAB | lab(28.62, 40.25, 18.01) |
| CIE-LCH | lch(28.62, 44.10, 24.10°) |
| OKLab | oklab(40.03% 0.1193 0.043) |
| OKLCH | oklch(40.03% 0.127 19.8) |
| XYZ | xyz(9.5670, 5.6919, 2.7849) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.58
Wine Red
#7B0323
ΔE00 3.78
Wine
#722F37
ΔE00 5.27
Bordeaux
#7B002C
ΔE00 6.02
Claret
#680018
ΔE00 6.23
Red Wine
#8C0034
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E212A #217E75
analogous
#7E2158 #7E212A #7E4621
triadic
#7E212A #2A7E21 #212A7E
tetradic
#7E212A #587E21 #217E75 #46217E
square
#7E212A #587E21 #217E75 #46217E
split-complementary
#7E212A #217E46 #21587E
monochromatic
#1D080A #4E141A #7E212A #AE2E3A #D04A57
Accessibility & contrast
On white
9.82
#7E212A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E212A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E212A
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E212A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E212A | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B372A
Deuteranopia (green-blind)
#524B27
Tritanopia (blue-blind)
#8B0425
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e212a; /* rgb */ color: rgb(126, 33, 42); /* oklch */ color: oklch(40.0% 0.127 19.8);
Tailwind
colors: {
custom: {
50: '#aa6463',
500: '#7e212a',
950: '#000000',
},
}SCSS
$custom: #7e212a; $custom-light: #aa6463; $custom-dark: #000000;
JSON
{
"hex": "#7e212a",
"rgb": {
"r": 126,
"g": 33,
"b": 42
},
"hsl": {
"h": 354.194,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.4003,
"c": 0.12679,
"h": 19.8
},
"luminance": 0.05691
}Semantic roles & 50–950 ramp
primary
#7E212A
secondary
#4AB1A7
accent
#E2D346
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79