#7F311D#7F311D
#7F311D is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.0% C 0.113 H 35.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F311D |
|---|---|
| RGB | rgb(127, 49, 29) |
| HSL | hsl(12, 63%, 31%) |
| HSV | hsv(12, 77%, 50%) |
| CMYK | cmyk(0%, 61.4%, 77.2%, 50.2%) |
| CIE-LAB | lab(31.34, 32.55, 29.36) |
| CIE-LCH | lch(31.34, 43.83, 42.05°) |
| OKLab | oklab(42.05% 0.0922 0.0656) |
| OKLCH | oklch(42.05% 0.113 35.4) |
| XYZ | xyz(10.0735, 6.7987, 1.9440) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.97
Reddish Brown
#7F2B0A
ΔE00 3.90
Chestnut
#742802
ΔE00 5.66
Brown Red
#922B05
ΔE00 5.93
Indian Red
#850E04
ΔE00 6.01
Brick Red
#8F1402
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F311D #1D6B7F
analogous
#7F1D3A #7F311D #7F621D
triadic
#7F311D #1D7F31 #311D7F
tetradic
#7F311D #3A7F1D #1D6B7F #621D7F
square
#7F311D #3A7F1D #1D6B7F #621D7F
split-complementary
#7F311D #1D7F62 #1D3A7F
monochromatic
#1B0B06 #4D1E12 #7F311D #B14428 #D46042
Accessibility & contrast
On white
8.90
#7F311D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#7F311D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F311D
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F311D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F311D | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#473F1A
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#8C1F2D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #7f311d; /* rgb */ color: rgb(127, 49, 29); /* oklch */ color: oklch(42.0% 0.113 35.4);
Tailwind
colors: {
custom: {
50: '#ab6c5a',
500: '#7f311d',
950: '#000000',
},
}SCSS
$custom: #7f311d; $custom-light: #ab6c5a; $custom-dark: #000000;
JSON
{
"hex": "#7f311d",
"rgb": {
"r": 127,
"g": 49,
"b": 29
},
"hsl": {
"h": 12.245,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.42047,
"c": 0.11313,
"h": 35.4
},
"luminance": 0.06797
}Semantic roles & 50–950 ramp
primary
#7F311D
secondary
#459CB2
accent
#C4E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79