#7F331B#7F331B
#7F331B is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.3% C 0.112 H 37.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7F331B |
|---|---|
| RGB | rgb(127, 51, 27) |
| HSL | hsl(14, 65%, 30%) |
| HSV | hsv(14, 79%, 50%) |
| CMYK | cmyk(0%, 59.8%, 78.7%, 50.2%) |
| CIE-LAB | lab(31.72, 31.43, 30.89) |
| CIE-LCH | lch(31.72, 44.06, 44.50°) |
| OKLab | oklab(42.32% 0.0883 0.0684) |
| OKLCH | oklch(42.32% 0.112 37.7) |
| XYZ | xyz(10.1351, 6.9602, 1.8464) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.92
Reddish Brown
#7F2B0A
ΔE00 3.07
Chestnut
#742802
ΔE00 4.86
Brown Red
#922B05
ΔE00 5.30
Rust Brown
#8B3103
ΔE00 5.34
Brick Red
#8F1402
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F331B #1B677F
analogous
#7F1B35 #7F331B #7F651B
triadic
#7F331B #1B7F33 #331B7F
tetradic
#7F331B #357F1B #1B677F #651B7F
square
#7F331B #357F1B #1B677F #651B7F
split-complementary
#7F331B #1B7F65 #1B357F
monochromatic
#1A0A06 #4D1F10 #7F331B #B14726 #D6633E
Accessibility & contrast
On white
8.78
#7F331B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#7F331B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F331B
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F331B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F331B | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484018
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#8C222E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7f331b; /* rgb */ color: rgb(127, 51, 27); /* oklch */ color: oklch(42.3% 0.112 37.7);
Tailwind
colors: {
custom: {
50: '#ab6d59',
500: '#7f331b',
950: '#000000',
},
}SCSS
$custom: #7f331b; $custom-light: #ab6d59; $custom-dark: #000000;
JSON
{
"hex": "#7f331b",
"rgb": {
"r": 127,
"g": 51,
"b": 27
},
"hsl": {
"h": 14.4,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.42322,
"c": 0.11168,
"h": 37.7
},
"luminance": 0.06959
}Semantic roles & 50–950 ramp
primary
#7F331B
secondary
#4398B3
accent
#C0E840
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78