#7C2A12#7C2A12
#7C2A12 is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.4% C 0.119 H 36.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2A12 |
|---|---|
| RGB | rgb(124, 42, 18) |
| HSL | hsl(14, 75%, 28%) |
| HSV | hsv(14, 85%, 49%) |
| CMYK | cmyk(0%, 66.1%, 85.5%, 51.4%) |
| CIE-LAB | lab(29.38, 34.40, 33.23) |
| CIE-LCH | lch(29.38, 47.83, 44.01°) |
| OKLab | oklab(40.42% 0.0961 0.0709) |
| OKLCH | oklch(40.42% 0.119 36.4) |
| XYZ | xyz(9.2504, 5.9860, 1.2405) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 2.23
Red Brown
#8B2E16
ΔE00 3.18
Chestnut
#742802
ΔE00 3.79
Indian Red
#850E04
ΔE00 4.83
Brick Red
#8F1402
ΔE00 5.07
Brown Red
#922B05
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2A12 #12647C
analogous
#7C122F #7C2A12 #7C5F12
triadic
#7C2A12 #127C2A #2A127C
tetradic
#7C2A12 #2F7C12 #12647C #5F127C
square
#7C2A12 #2F7C12 #12647C #5F127C
split-complementary
#7C2A12 #127C5F #122F7C
monochromatic
#1B0904 #47180A #7C2A12 #B13C1A #E05229
Accessibility & contrast
On white
9.56
#7C2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7C2A12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C2A12
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2A12 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#423A0E
Deuteranopia (green-blind)
#564C0E
Tritanopia (blue-blind)
#891325
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7c2a12; /* rgb */ color: rgb(124, 42, 18); /* oklch */ color: oklch(40.4% 0.119 36.4);
Tailwind
colors: {
custom: {
50: '#a96852',
500: '#7c2a12',
950: '#000000',
},
}SCSS
$custom: #7c2a12; $custom-light: #a96852; $custom-dark: #000000;
JSON
{
"hex": "#7c2a12",
"rgb": {
"r": 124,
"g": 42,
"b": 18
},
"hsl": {
"h": 13.585,
"s": 74.648,
"l": 27.843
},
"oklch": {
"l": 0.40423,
"c": 0.11936,
"h": 36.4
},
"luminance": 0.05985
}Semantic roles & 50–950 ramp
primary
#7C2A12
secondary
#3896B2
accent
#C7F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78