#7F331F#7F331F
#7F331F is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.4% C 0.111 H 35.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7F331F |
|---|---|
| RGB | rgb(127, 51, 31) |
| HSL | hsl(13, 61%, 31%) |
| HSV | hsv(13, 76%, 50%) |
| CMYK | cmyk(0%, 59.8%, 75.6%, 50.2%) |
| CIE-LAB | lab(31.76, 31.62, 28.65) |
| CIE-LCH | lch(31.76, 42.67, 42.18°) |
| OKLab | oklab(42.37% 0.0897 0.0646) |
| OKLCH | oklch(42.37% 0.111 35.7) |
| XYZ | xyz(10.1846, 6.9800, 2.1070) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.21
Reddish Brown
#7F2B0A
ΔE00 4.17
Chestnut
#742802
ΔE00 5.89
Brown Red
#922B05
ΔE00 6.13
Brownish Red
#9E3623
ΔE00 6.46
Indian Red
#850E04
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F331F #1F6B7F
analogous
#7F1F3B #7F331F #7F631F
triadic
#7F331F #1F7F33 #331F7F
tetradic
#7F331F #3B7F1F #1F6B7F #631F7F
square
#7F331F #3B7F1F #1F6B7F #631F7F
split-complementary
#7F331F #1F7F63 #1F3B7F
monochromatic
#1D0B07 #4E1F13 #7F331F #B0472B #D26446
Accessibility & contrast
On white
8.77
#7F331F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#7F331F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F331F
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F331F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F331F | 1.00 | 8.77 | 2.40 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48401D
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#8C222F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7f331f; /* rgb */ color: rgb(127, 51, 31); /* oklch */ color: oklch(42.4% 0.111 35.7);
Tailwind
colors: {
custom: {
50: '#aa6d5b',
500: '#7f331f',
950: '#000000',
},
}SCSS
$custom: #7f331f; $custom-light: #aa6d5b; $custom-dark: #000000;
JSON
{
"hex": "#7f331f",
"rgb": {
"r": 127,
"g": 51,
"b": 31
},
"hsl": {
"h": 12.5,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.4237,
"c": 0.1105,
"h": 35.7
},
"luminance": 0.06979
}Semantic roles & 50–950 ramp
primary
#7F331F
secondary
#489CB2
accent
#C3E444
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110704
muted
#807A79