#7E212E#7E212E
#7E212E is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.127 H 17.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7E212E |
|---|---|
| RGB | rgb(126, 33, 46) |
| HSL | hsl(352, 58%, 31%) |
| HSV | hsv(352, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 63.5%, 50.6%) |
| CIE-LAB | lab(28.70, 40.52, 15.47) |
| CIE-LCH | lch(28.70, 43.37, 20.90°) |
| OKLab | oklab(40.11% 0.121 0.0376) |
| OKLCH | oklch(40.11% 0.127 17.3) |
| XYZ | xyz(9.6422, 5.7220, 3.1810) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.60
Burgundy
#800020
ΔE00 4.02
Wine
#722F37
ΔE00 4.49
Bordeaux
#7B002C
ΔE00 4.89
Red Wine
#8C0034
ΔE00 5.14
Claret
#680018
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E212E #217E71
analogous
#7E215C #7E212E #7E4221
triadic
#7E212E #2E7E21 #212E7E
tetradic
#7E212E #5C7E21 #217E71 #42217E
square
#7E212E #5C7E21 #217E71 #42217E
split-complementary
#7E212E #217E42 #215C7E
monochromatic
#1D080B #4E141C #7E212E #AE2E40 #D04A5D
Accessibility & contrast
On white
9.79
#7E212E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E212E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E212E
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E212E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E212E | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A372E
Deuteranopia (green-blind)
#524B2B
Tritanopia (blue-blind)
#8A0626
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e212e; /* rgb */ color: rgb(126, 33, 46); /* oklch */ color: oklch(40.1% 0.127 17.3);
Tailwind
colors: {
custom: {
50: '#a96466',
500: '#7e212e',
950: '#000000',
},
}SCSS
$custom: #7e212e; $custom-light: #a96466; $custom-dark: #000000;
JSON
{
"hex": "#7e212e",
"rgb": {
"r": 126,
"g": 33,
"b": 46
},
"hsl": {
"h": 351.613,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40114,
"c": 0.12669,
"h": 17.3
},
"luminance": 0.05721
}Semantic roles & 50–950 ramp
primary
#7E212E
secondary
#4AB1A2
accent
#E2CC46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A