#7F313E#7F313E
#7F313E is a dark, moderate red. Relative luminance 0.071; OKLCH L 42.7% C 0.108 H 12.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7F313E |
|---|---|
| RGB | rgb(127, 49, 62) |
| HSL | hsl(350, 44%, 35%) |
| HSV | hsv(350, 61%, 50%) |
| CMYK | cmyk(0%, 61.4%, 51.2%, 50.2%) |
| CIE-LAB | lab(31.94, 34.96, 9.38) |
| CIE-LCH | lch(31.94, 36.19, 15.02°) |
| OKLab | oklab(42.69% 0.1057 0.0239) |
| OKLCH | oklch(42.69% 0.108 12.8) |
| XYZ | xyz(10.7210, 7.0577, 5.3542) |
| Luminance | 0.0706 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 2.98
Brownish Purple
#76424E
ΔE00 6.31
Red Wine
#8C0034
ΔE00 6.50
Purple Brown
#673A3F
ΔE00 6.85
Bordeaux
#7B002C
ΔE00 7.06
Cranberry
#9E003A
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F313E #317F72
analogous
#7F3165 #7F313E #7F4B31
triadic
#7F313E #3E7F31 #313E7F
tetradic
#7F313E #657F31 #317F72 #4B317F
square
#7F313E #657F31 #317F72 #4B317F
split-complementary
#7F313E #317F4B #31657F
monochromatic
#270F13 #532028 #7F313E #AB4254 #C46676
Accessibility & contrast
On white
8.71
#7F313E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#7F313E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F313E
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F313E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F313E | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42413E
Deuteranopia (green-blind)
#56513C
Tritanopia (blue-blind)
#8A2636
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7f313e; /* rgb */ color: rgb(127, 49, 62); /* oklch */ color: oklch(42.7% 0.108 12.8);
Tailwind
colors: {
custom: {
50: '#a86d73',
500: '#7f313e',
950: '#000000',
},
}SCSS
$custom: #7f313e; $custom-light: #a86d73; $custom-dark: #000000;
JSON
{
"hex": "#7f313e",
"rgb": {
"r": 127,
"g": 49,
"b": 62
},
"hsl": {
"h": 350,
"s": 44.318,
"l": 34.51
},
"oklch": {
"l": 0.42687,
"c": 0.10835,
"h": 12.8
},
"luminance": 0.07056
}Semantic roles & 50–950 ramp
primary
#7F313E
secondary
#60AB9F
accent
#D4BF54
background
#FAF6F6
surface
#F4ECEC
border
#CEC7C7
text
#100708
muted
#7F7A7B