#7F2C17#7F2C17
#7F2C17 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.3% C 0.120 H 35.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2C17 |
|---|---|
| RGB | rgb(127, 44, 23) |
| HSL | hsl(12, 69%, 29%) |
| HSV | hsv(12, 82%, 50%) |
| CMYK | cmyk(0%, 65.4%, 81.9%, 50.2%) |
| CIE-LAB | lab(30.34, 34.77, 31.70) |
| CIE-LCH | lch(30.34, 47.05, 42.35°) |
| OKLab | oklab(41.27% 0.0978 0.0689) |
| OKLCH | oklch(41.27% 0.12 35.2) |
| XYZ | xyz(9.8088, 6.3767, 1.5248) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 2.61
Reddish Brown
#7F2B0A
ΔE00 3.12
Indian Red
#850E04
ΔE00 4.84
Chestnut
#742802
ΔE00 4.96
Brick Red
#8F1402
ΔE00 5.03
Brown Red
#922B05
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2C17 #176A7F
analogous
#7F1736 #7F2C17 #7F6017
triadic
#7F2C17 #177F2C #2C177F
tetradic
#7F2C17 #367F17 #176A7F #60177F
square
#7F2C17 #367F17 #176A7F #60177F
split-complementary
#7F2C17 #177F60 #17367F
monochromatic
#1A0905 #4B1A0E #7F2C17 #B33E20 #DB5736
Accessibility & contrast
On white
9.23
#7F2C17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7F2C17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2C17
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2C17 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#8C1628
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2c17; /* rgb */ color: rgb(127, 44, 23); /* oklch */ color: oklch(41.3% 0.120 35.2);
Tailwind
colors: {
custom: {
50: '#ab6955',
500: '#7f2c17',
950: '#000000',
},
}SCSS
$custom: #7f2c17; $custom-light: #ab6955; $custom-dark: #000000;
JSON
{
"hex": "#7f2c17",
"rgb": {
"r": 127,
"g": 44,
"b": 23
},
"hsl": {
"h": 12.115,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.41271,
"c": 0.11969,
"h": 35.2
},
"luminance": 0.06375
}Semantic roles & 50–950 ramp
primary
#7F2C17
secondary
#3E9CB4
accent
#C9EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78