#7C2F17#7C2F17
#7C2F17 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.2% C 0.113 H 37.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2F17 |
|---|---|
| RGB | rgb(124, 47, 23) |
| HSL | hsl(14, 69%, 29%) |
| HSV | hsv(14, 81%, 49%) |
| CMYK | cmyk(0%, 62.1%, 81.5%, 51.4%) |
| CIE-LAB | lab(30.35, 32.11, 31.53) |
| CIE-LCH | lch(30.35, 45.00, 44.48°) |
| OKLab | oklab(41.18% 0.0899 0.0688) |
| OKLCH | oklch(41.18% 0.113 37.4) |
| XYZ | xyz(9.4844, 6.3813, 1.5427) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 2.56
Red Brown
#8B2E16
ΔE00 3.19
Chestnut
#742802
ΔE00 4.11
Brown Red
#922B05
ΔE00 5.45
Rust Brown
#8B3103
ΔE00 5.51
Indian Red
#850E04
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2F17 #17647C
analogous
#7C1732 #7C2F17 #7C6217
triadic
#7C2F17 #177C2F #2F177C
tetradic
#7C2F17 #327C17 #17647C #62177C
square
#7C2F17 #327C17 #17647C #62177C
split-complementary
#7C2F17 #177C62 #17327C
monochromatic
#1A0A05 #481B0D #7C2F17 #B04321 #D95B34
Accessibility & contrast
On white
9.23
#7C2F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#7C2F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2F17
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2F17 | 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)
#453D14
Deuteranopia (green-blind)
#584E14
Tritanopia (blue-blind)
#891C2A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7c2f17; /* rgb */ color: rgb(124, 47, 23); /* oklch */ color: oklch(41.2% 0.113 37.4);
Tailwind
colors: {
custom: {
50: '#a96b56',
500: '#7c2f17',
950: '#000000',
},
}SCSS
$custom: #7c2f17; $custom-light: #a96b56; $custom-dark: #000000;
JSON
{
"hex": "#7c2f17",
"rgb": {
"r": 124,
"g": 47,
"b": 23
},
"hsl": {
"h": 14.257,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.41175,
"c": 0.11325,
"h": 37.4
},
"luminance": 0.0638
}Semantic roles & 50–950 ramp
primary
#7C2F17
secondary
#3E96B1
accent
#C2EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78