#7E2A34#7E2A34
#7E2A34 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.3% C 0.116 H 16.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A34 |
|---|---|
| RGB | rgb(126, 42, 52) |
| HSL | hsl(353, 50%, 33%) |
| HSV | hsv(353, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 58.7%, 50.6%) |
| CIE-LAB | lab(30.26, 37.08, 13.59) |
| CIE-LCH | lch(30.26, 39.49, 20.12°) |
| OKLab | oklab(41.32% 0.1111 0.0336) |
| OKLCH | oklch(41.32% 0.116 16.8) |
| XYZ | xyz(10.0529, 6.3408, 3.9427) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 3.21
Wine Red
#7B0323
ΔE00 5.40
Burgundy
#800020
ΔE00 5.83
Red Wine
#8C0034
ΔE00 5.92
Bordeaux
#7B002C
ΔE00 6.03
Cranberry
#9E003A
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A34 #2A7E74
analogous
#7E2A5E #7E2A34 #7E4A2A
triadic
#7E2A34 #347E2A #2A347E
tetradic
#7E2A34 #5E7E2A #2A7E74 #4A2A7E
square
#7E2A34 #5E7E2A #2A7E74 #4A2A7E
split-complementary
#7E2A34 #2A7E4A #2A5E7E
monochromatic
#220B0E #501B21 #7E2A34 #AC3947 #C85A67
Accessibility & contrast
On white
9.26
#7E2A34 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7E2A34 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A34
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A34 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3C34
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#8A1A2E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e2a34; /* rgb */ color: rgb(126, 42, 52); /* oklch */ color: oklch(41.3% 0.116 16.8);
Tailwind
colors: {
custom: {
50: '#a8686b',
500: '#7e2a34',
950: '#000000',
},
}SCSS
$custom: #7e2a34; $custom-light: #a8686b; $custom-dark: #000000;
JSON
{
"hex": "#7e2a34",
"rgb": {
"r": 126,
"g": 42,
"b": 52
},
"hsl": {
"h": 352.857,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.41316,
"c": 0.11608,
"h": 16.8
},
"luminance": 0.06339
}Semantic roles & 50–950 ramp
primary
#7E2A34
secondary
#56AEA3
accent
#DAC94E
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A