#7F331A#7F331A
#7F331A is a dark, moderate red. Relative luminance 0.070; OKLCH L 42.3% C 0.112 H 38.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7F331A |
|---|---|
| RGB | rgb(127, 51, 26) |
| HSL | hsl(15, 66%, 30%) |
| HSV | hsv(15, 80%, 50%) |
| CMYK | cmyk(0%, 59.8%, 79.5%, 50.2%) |
| CIE-LAB | lab(31.71, 31.38, 31.43) |
| CIE-LCH | lch(31.71, 44.42, 45.04°) |
| OKLab | oklab(42.31% 0.088 0.0693) |
| OKLCH | oklch(42.31% 0.112 38.2) |
| XYZ | xyz(10.1237, 6.9556, 1.7866) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 2.84
Red Brown
#8B2E16
ΔE00 2.94
Chestnut
#742802
ΔE00 4.63
Rust Brown
#8B3103
ΔE00 5.07
Brown Red
#922B05
ΔE00 5.14
Brick Red
#8F1402
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F331A #1A667F
analogous
#7F1A34 #7F331A #7F651A
triadic
#7F331A #1A7F33 #331A7F
tetradic
#7F331A #347F1A #1A667F #651A7F
square
#7F331A #347F1A #1A667F #651A7F
split-complementary
#7F331A #1A7F65 #1A347F
monochromatic
#190A05 #4C1F10 #7F331A #B24724 #D7633C
Accessibility & contrast
On white
8.78
#7F331A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#7F331A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F331A
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F331A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F331A | 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)
#484017
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#8C222E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #7f331a; /* rgb */ color: rgb(127, 51, 26); /* oklch */ color: oklch(42.3% 0.112 38.2);
Tailwind
colors: {
custom: {
50: '#ab6d58',
500: '#7f331a',
950: '#000000',
},
}SCSS
$custom: #7f331a; $custom-light: #ab6d58; $custom-dark: #000000;
JSON
{
"hex": "#7f331a",
"rgb": {
"r": 127,
"g": 51,
"b": 26
},
"hsl": {
"h": 14.851,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.42311,
"c": 0.11198,
"h": 38.2
},
"luminance": 0.06954
}Semantic roles & 50–950 ramp
primary
#7F331A
secondary
#4297B3
accent
#BFE93F
background
#FBF6F5
surface
#F6ECE9
border
#D0C7C5
text
#110703
muted
#807A78