#7F301B#7F301B
#7F301B is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.115 H 35.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7F301B |
|---|---|
| RGB | rgb(127, 48, 27) |
| HSL | hsl(13, 65%, 30%) |
| HSV | hsv(13, 79%, 50%) |
| CMYK | cmyk(0%, 62.2%, 78.7%, 50.2%) |
| CIE-LAB | lab(31.13, 32.97, 30.27) |
| CIE-LCH | lch(31.13, 44.75, 42.56°) |
| OKLab | oklab(41.88% 0.093 0.067) |
| OKLCH | oklch(41.88% 0.115 35.8) |
| XYZ | xyz(10.0082, 6.7064, 1.8042) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.76
Reddish Brown
#7F2B0A
ΔE00 3.47
Chestnut
#742802
ΔE00 5.28
Brown Red
#922B05
ΔE00 5.61
Indian Red
#850E04
ΔE00 5.76
Brick Red
#8F1402
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F301B #1B6A7F
analogous
#7F1B38 #7F301B #7F621B
triadic
#7F301B #1B7F30 #301B7F
tetradic
#7F301B #387F1B #1B6A7F #621B7F
square
#7F301B #387F1B #1B6A7F #621B7F
split-complementary
#7F301B #1B7F62 #1B387F
monochromatic
#1A0A06 #4D1D10 #7F301B #B14326 #D65E3E
Accessibility & contrast
On white
8.97
#7F301B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#7F301B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F301B
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F301B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F301B | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#463E18
Deuteranopia (green-blind)
#595018
Tritanopia (blue-blind)
#8C1D2C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f301b; /* rgb */ color: rgb(127, 48, 27); /* oklch */ color: oklch(41.9% 0.115 35.8);
Tailwind
colors: {
custom: {
50: '#ab6b58',
500: '#7f301b',
950: '#000000',
},
}SCSS
$custom: #7f301b; $custom-light: #ab6b58; $custom-dark: #000000;
JSON
{
"hex": "#7f301b",
"rgb": {
"r": 127,
"g": 48,
"b": 27
},
"hsl": {
"h": 12.6,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.41877,
"c": 0.11469,
"h": 35.8
},
"luminance": 0.06705
}Semantic roles & 50–950 ramp
primary
#7F301B
secondary
#439BB3
accent
#C5E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78