#7E3142#7E3142
#7E3142 is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.6% C 0.108 H 9.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7E3142 |
|---|---|
| RGB | rgb(126, 49, 66) |
| HSL | hsl(347, 44%, 34%) |
| HSV | hsv(347, 61%, 49%) |
| CMYK | cmyk(0%, 61.1%, 47.6%, 50.6%) |
| CIE-LAB | lab(31.87, 35.00, 6.65) |
| CIE-LCH | lch(31.87, 35.63, 10.76°) |
| OKLab | oklab(42.63% 0.1063 0.0173) |
| OKLCH | oklch(42.63% 0.108 9.2) |
| XYZ | xyz(10.6866, 7.0268, 5.9467) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 3.73
Brownish Purple
#76424E
ΔE00 5.63
Red Wine
#8C0034
ΔE00 6.70
Purple Brown
#673A3F
ΔE00 6.82
Bordeaux
#7B002C
ΔE00 7.24
Berry
#990F4B
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E3142 #317E6D
analogous
#7E3169 #7E3142 #7E4731
triadic
#7E3142 #427E31 #31427E
tetradic
#7E3142 #697E31 #317E6D #47317E
square
#7E3142 #697E31 #317E6D #47317E
split-complementary
#7E3142 #317E47 #31697E
monochromatic
#260F14 #52202B #7E3142 #AA4259 #C3667B
Accessibility & contrast
On white
8.73
#7E3142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#7E3142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E3142
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E3142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E3142 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414142
Deuteranopia (green-blind)
#555140
Tritanopia (blue-blind)
#892737
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e3142; /* rgb */ color: rgb(126, 49, 66); /* oklch */ color: oklch(42.6% 0.108 9.2);
Tailwind
colors: {
custom: {
50: '#a76d76',
500: '#7e3142',
950: '#000000',
},
}SCSS
$custom: #7e3142; $custom-light: #a76d76; $custom-dark: #000000;
JSON
{
"hex": "#7e3142",
"rgb": {
"r": 126,
"g": 49,
"b": 66
},
"hsl": {
"h": 346.753,
"s": 44,
"l": 34.314
},
"oklch": {
"l": 0.42634,
"c": 0.10766,
"h": 9.2
},
"luminance": 0.07026
}Semantic roles & 50–950 ramp
primary
#7E3142
secondary
#60AB9A
accent
#D4B854
background
#FAF6F7
surface
#F4ECED
border
#CEC7C8
text
#100708
muted
#7F7A7B