#7E313A#7E313A
#7E313A is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.4% C 0.107 H 15.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7E313A |
|---|---|
| RGB | rgb(126, 49, 58) |
| HSL | hsl(353, 44%, 34%) |
| HSV | hsv(353, 61%, 49%) |
| CMYK | cmyk(0%, 61.1%, 54%, 50.6%) |
| CIE-LAB | lab(31.67, 34.20, 11.58) |
| CIE-LCH | lch(31.67, 36.11, 18.71°) |
| OKLab | oklab(42.42% 0.1029 0.0291) |
| OKLCH | oklch(42.42% 0.107 15.8) |
| XYZ | xyz(10.4671, 6.9390, 4.7903) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 2.62
Purple Brown
#673A3F
ΔE00 6.85
Red Wine
#8C0034
ΔE00 6.89
Brownish Purple
#76424E
ΔE00 7.02
Wine Red
#7B0323
ΔE00 7.11
Bordeaux
#7B002C
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E313A #317E75
analogous
#7E3161 #7E313A #7E4F31
triadic
#7E313A #3A7E31 #313A7E
tetradic
#7E313A #617E31 #317E75 #4F317E
square
#7E313A #617E31 #317E75 #4F317E
split-complementary
#7E313A #317E4F #31617E
monochromatic
#260F11 #522026 #7E313A #AA424E #C36671
Accessibility & contrast
On white
8.80
#7E313A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#7E313A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E313A
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E313A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E313A | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43413A
Deuteranopia (green-blind)
#565038
Tritanopia (blue-blind)
#892535
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7e313a; /* rgb */ color: rgb(126, 49, 58); /* oklch */ color: oklch(42.4% 0.107 15.8);
Tailwind
colors: {
custom: {
50: '#a86d70',
500: '#7e313a',
950: '#000000',
},
}SCSS
$custom: #7e313a; $custom-light: #a86d70; $custom-dark: #000000;
JSON
{
"hex": "#7e313a",
"rgb": {
"r": 126,
"g": 49,
"b": 58
},
"hsl": {
"h": 352.987,
"s": 44,
"l": 34.314
},
"oklch": {
"l": 0.42418,
"c": 0.10694,
"h": 15.8
},
"luminance": 0.06938
}Semantic roles & 50–950 ramp
primary
#7E313A
secondary
#60ABA2
accent
#D4C554
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100707
muted
#7F7A7A