#7F313F#7F313F
#7F313F is a dark, moderate red. Relative luminance 0.071; OKLCH L 42.7% C 0.108 H 11.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F313F |
|---|---|
| RGB | rgb(127, 49, 63) |
| HSL | hsl(349, 44%, 35%) |
| HSV | hsv(349, 61%, 50%) |
| CMYK | cmyk(0%, 61.4%, 50.4%, 50.2%) |
| CIE-LAB | lab(31.96, 35.06, 8.76) |
| CIE-LCH | lch(31.96, 36.13, 14.04°) |
| OKLab | oklab(42.71% 0.1061 0.0225) |
| OKLCH | oklch(42.71% 0.108 11.9) |
| XYZ | xyz(10.7487, 7.0688, 5.5000) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine
#722F37
ΔE00 3.14
Brownish Purple
#76424E
ΔE00 6.14
Red Wine
#8C0034
ΔE00 6.48
Purple Brown
#673A3F
ΔE00 6.85
Bordeaux
#7B002C
ΔE00 7.06
Cranberry
#9E003A
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F313F #317F71
analogous
#7F3166 #7F313F #7F4A31
triadic
#7F313F #3F7F31 #313F7F
tetradic
#7F313F #667F31 #317F71 #4A317F
square
#7F313F #667F31 #317F71 #4A317F
split-complementary
#7F313F #317F4A #31667F
monochromatic
#270F13 #532029 #7F313F #AB4255 #C46677
Accessibility & contrast
On white
8.70
#7F313F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#7F313F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F313F
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F313F | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42413F
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#8A2636
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7f313f; /* rgb */ color: rgb(127, 49, 63); /* oklch */ color: oklch(42.7% 0.108 11.9);
Tailwind
colors: {
custom: {
50: '#a86d73',
500: '#7f313f',
950: '#000000',
},
}SCSS
$custom: #7f313f; $custom-light: #a86d73; $custom-dark: #000000;
JSON
{
"hex": "#7f313f",
"rgb": {
"r": 127,
"g": 49,
"b": 63
},
"hsl": {
"h": 349.231,
"s": 44.318,
"l": 34.51
},
"oklch": {
"l": 0.42714,
"c": 0.10844,
"h": 11.9
},
"luminance": 0.07068
}Semantic roles & 50–950 ramp
primary
#7F313F
secondary
#60AB9E
accent
#D4BD54
background
#FAF6F7
surface
#F4ECED
border
#CEC7C8
text
#100708
muted
#7F7A7B