#7F301C#7F301C
#7F301C is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.114 H 35.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7F301C |
|---|---|
| RGB | rgb(127, 48, 28) |
| HSL | hsl(12, 64%, 30%) |
| HSV | hsv(12, 78%, 50%) |
| CMYK | cmyk(0%, 62.2%, 78%, 50.2%) |
| CIE-LAB | lab(31.14, 33.01, 29.71) |
| CIE-LCH | lch(31.14, 44.41, 41.99°) |
| OKLab | oklab(41.89% 0.0934 0.0661) |
| OKLCH | oklch(41.89% 0.114 35.3) |
| XYZ | xyz(10.0200, 6.7111, 1.8661) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.88
Reddish Brown
#7F2B0A
ΔE00 3.78
Chestnut
#742802
ΔE00 5.56
Indian Red
#850E04
ΔE00 5.77
Brown Red
#922B05
ΔE00 5.84
Brick Red
#8F1402
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F301C #1C6B7F
analogous
#7F1C3A #7F301C #7F611C
triadic
#7F301C #1C7F30 #301C7F
tetradic
#7F301C #3A7F1C #1C6B7F #611C7F
square
#7F301C #3A7F1C #1C6B7F #611C7F
split-complementary
#7F301C #1C7F61 #1C3A7F
monochromatic
#1B0A06 #4D1D11 #7F301C #B14327 #D55E40
Accessibility & contrast
On white
8.97
#7F301C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#7F301C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F301C
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F301C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F301C | 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)
#463E19
Deuteranopia (green-blind)
#595019
Tritanopia (blue-blind)
#8C1D2C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f301c; /* rgb */ color: rgb(127, 48, 28); /* oklch */ color: oklch(41.9% 0.114 35.3);
Tailwind
colors: {
custom: {
50: '#ab6b59',
500: '#7f301c',
950: '#000000',
},
}SCSS
$custom: #7f301c; $custom-light: #ab6b59; $custom-dark: #000000;
JSON
{
"hex": "#7f301c",
"rgb": {
"r": 127,
"g": 48,
"b": 28
},
"hsl": {
"h": 12.121,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.41889,
"c": 0.11442,
"h": 35.3
},
"luminance": 0.0671
}Semantic roles & 50–950 ramp
primary
#7F301C
secondary
#449CB3
accent
#C5E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78