#7E212D#7E212D
#7E212D is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.127 H 17.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7E212D |
|---|---|
| RGB | rgb(126, 33, 45) |
| HSL | hsl(352, 58%, 31%) |
| HSV | hsv(352, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 64.3%, 50.6%) |
| CIE-LAB | lab(28.68, 40.45, 16.11) |
| CIE-LCH | lch(28.68, 43.54, 21.71°) |
| OKLab | oklab(40.09% 0.1206 0.039) |
| OKLCH | oklch(40.09% 0.127 17.9) |
| XYZ | xyz(9.6227, 5.7142, 3.0784) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 3.58
Burgundy
#800020
ΔE00 3.85
Wine
#722F37
ΔE00 4.65
Bordeaux
#7B002C
ΔE00 5.15
Red Wine
#8C0034
ΔE00 5.42
Claret
#680018
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E212D #217E72
analogous
#7E215B #7E212D #7E4321
triadic
#7E212D #2D7E21 #212D7E
tetradic
#7E212D #5B7E21 #217E72 #43217E
square
#7E212D #5B7E21 #217E72 #43217E
split-complementary
#7E212D #217E43 #215B7E
monochromatic
#1D080A #4E141C #7E212D #AE2E3E #D04A5B
Accessibility & contrast
On white
9.80
#7E212D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E212D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E212D
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E212D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E212D | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A372D
Deuteranopia (green-blind)
#524B2A
Tritanopia (blue-blind)
#8A0626
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e212d; /* rgb */ color: rgb(126, 33, 45); /* oklch */ color: oklch(40.1% 0.127 17.9);
Tailwind
colors: {
custom: {
50: '#a96465',
500: '#7e212d',
950: '#000000',
},
}SCSS
$custom: #7e212d; $custom-light: #a96465; $custom-dark: #000000;
JSON
{
"hex": "#7e212d",
"rgb": {
"r": 126,
"g": 33,
"b": 45
},
"hsl": {
"h": 352.258,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40092,
"c": 0.12669,
"h": 17.9
},
"luminance": 0.05713
}Semantic roles & 50–950 ramp
primary
#7E212D
secondary
#4AB1A3
accent
#E2CE46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A