#7E313E#7E313E
#7E313E is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.5% C 0.107 H 12.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7E313E |
|---|---|
| RGB | rgb(126, 49, 62) |
| HSL | hsl(350, 44%, 34%) |
| HSV | hsv(350, 61%, 49%) |
| CMYK | cmyk(0%, 61.1%, 50.8%, 50.6%) |
| CIE-LAB | lab(31.76, 34.59, 9.11) |
| CIE-LCH | lch(31.76, 35.77, 14.76°) |
| OKLab | oklab(42.52% 0.1046 0.0233) |
| OKLCH | oklch(42.52% 0.107 12.5) |
| XYZ | xyz(10.5728, 6.9813, 5.3472) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 2.83
Brownish Purple
#76424E
ΔE00 6.18
Red Wine
#8C0034
ΔE00 6.58
Purple Brown
#673A3F
ΔE00 6.68
Bordeaux
#7B002C
ΔE00 7.05
Cranberry
#9E003A
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E313E #317E71
analogous
#7E3165 #7E313E #7E4B31
triadic
#7E313E #3E7E31 #313E7E
tetradic
#7E313E #657E31 #317E71 #4B317E
square
#7E313E #657E31 #317E71 #4B317E
split-complementary
#7E313E #317E4B #31657E
monochromatic
#260F13 #522028 #7E313E #AA4254 #C36676
Accessibility & contrast
On white
8.76
#7E313E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#7E313E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E313E
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E313E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E313E | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42413E
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#892636
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7e313e; /* rgb */ color: rgb(126, 49, 62); /* oklch */ color: oklch(42.5% 0.107 12.5);
Tailwind
colors: {
custom: {
50: '#a76d73',
500: '#7e313e',
950: '#000000',
},
}SCSS
$custom: #7e313e; $custom-light: #a76d73; $custom-dark: #000000;
JSON
{
"hex": "#7e313e",
"rgb": {
"r": 126,
"g": 49,
"b": 62
},
"hsl": {
"h": 349.87,
"s": 44,
"l": 34.314
},
"oklch": {
"l": 0.42523,
"c": 0.10715,
"h": 12.5
},
"luminance": 0.0698
}Semantic roles & 50–950 ramp
primary
#7E313E
secondary
#60AB9E
accent
#D4BE54
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100708
muted
#7F7A7B