#7F311F#7F311F
#7F311F is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.1% C 0.113 H 34.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7F311F |
|---|---|
| RGB | rgb(127, 49, 31) |
| HSL | hsl(11, 61%, 31%) |
| HSV | hsv(11, 76%, 50%) |
| CMYK | cmyk(0%, 61.4%, 75.6%, 50.2%) |
| CIE-LAB | lab(31.37, 32.65, 28.22) |
| CIE-LCH | lch(31.37, 43.15, 40.84°) |
| OKLab | oklab(42.07% 0.0929 0.0636) |
| OKLCH | oklch(42.07% 0.113 34.4) |
| XYZ | xyz(10.0991, 6.8089, 2.0785) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.33
Reddish Brown
#7F2B0A
ΔE00 4.53
Indian Red
#850E04
ΔE00 6.08
Chestnut
#742802
ΔE00 6.25
Brick Red
#8F1402
ΔE00 6.31
Brown Red
#922B05
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F311F #1F6D7F
analogous
#7F1F3D #7F311F #7F611F
triadic
#7F311F #1F7F31 #311F7F
tetradic
#7F311F #3D7F1F #1F6D7F #611F7F
square
#7F311F #3D7F1F #1F6D7F #611F7F
split-complementary
#7F311F #1F7F61 #1F3D7F
monochromatic
#1D0B07 #4E1E13 #7F311F #B0442B #D26146
Accessibility & contrast
On white
8.89
#7F311F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7F311F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F311F
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F311F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F311F | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#5A501D
Tritanopia (blue-blind)
#8C1F2D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f311f; /* rgb */ color: rgb(127, 49, 31); /* oklch */ color: oklch(42.1% 0.113 34.4);
Tailwind
colors: {
custom: {
50: '#aa6c5b',
500: '#7f311f',
950: '#000000',
},
}SCSS
$custom: #7f311f; $custom-light: #aa6c5b; $custom-dark: #000000;
JSON
{
"hex": "#7f311f",
"rgb": {
"r": 127,
"g": 49,
"b": 31
},
"hsl": {
"h": 11.25,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.42073,
"c": 0.11257,
"h": 34.4
},
"luminance": 0.06808
}Semantic roles & 50–950 ramp
primary
#7F311F
secondary
#489EB2
accent
#C6E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79