#7E2A31#7E2A31
#7E2A31 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.2% C 0.116 H 19.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7E2A31 |
|---|---|
| RGB | rgb(126, 42, 49) |
| HSL | hsl(355, 50%, 33%) |
| HSV | hsv(355, 67%, 49%) |
| CMYK | cmyk(0%, 66.7%, 61.1%, 50.6%) |
| CIE-LAB | lab(30.19, 36.84, 15.46) |
| CIE-LCH | lch(30.19, 39.95, 22.77°) |
| OKLab | oklab(41.25% 0.1098 0.0378) |
| OKLCH | oklch(41.25% 0.116 19) |
| XYZ | xyz(9.9875, 6.3146, 3.5981) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 3.80
Wine Red
#7B0323
ΔE00 5.33
Burgundy
#800020
ΔE00 5.44
Red Wine
#8C0034
ΔE00 6.61
Bordeaux
#7B002C
ΔE00 6.64
Claret
#680018
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E2A31 #2A7E77
analogous
#7E2A5B #7E2A31 #7E4D2A
triadic
#7E2A31 #317E2A #2A317E
tetradic
#7E2A31 #5B7E2A #2A7E77 #4D2A7E
square
#7E2A31 #5B7E2A #2A7E77 #4D2A7E
split-complementary
#7E2A31 #2A7E4D #2A5B7E
monochromatic
#220B0D #501B1F #7E2A31 #AC3943 #C85A63
Accessibility & contrast
On white
9.28
#7E2A31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7E2A31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E2A31
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E2A31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E2A31 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3C31
Deuteranopia (green-blind)
#544E2F
Tritanopia (blue-blind)
#8A192D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e2a31; /* rgb */ color: rgb(126, 42, 49); /* oklch */ color: oklch(41.2% 0.116 19.0);
Tailwind
colors: {
custom: {
50: '#a96869',
500: '#7e2a31',
950: '#000000',
},
}SCSS
$custom: #7e2a31; $custom-light: #a96869; $custom-dark: #000000;
JSON
{
"hex": "#7e2a31",
"rgb": {
"r": 126,
"g": 42,
"b": 49
},
"hsl": {
"h": 355,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.41248,
"c": 0.11614,
"h": 19
},
"luminance": 0.06313
}Semantic roles & 50–950 ramp
primary
#7E2A31
secondary
#56AEA6
accent
#DACE4E
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A