#7B2A12#7B2A12
#7B2A12 is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.2% C 0.118 H 36.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2A12 |
|---|---|
| RGB | rgb(123, 42, 18) |
| HSL | hsl(14, 74%, 28%) |
| HSV | hsv(14, 85%, 48%) |
| CMYK | cmyk(0%, 65.9%, 85.4%, 51.8%) |
| CIE-LAB | lab(29.19, 34.01, 32.99) |
| CIE-LCH | lch(29.19, 47.38, 44.13°) |
| OKLab | oklab(40.25% 0.095 0.0704) |
| OKLCH | oklch(40.25% 0.118 36.6) |
| XYZ | xyz(9.1065, 5.9119, 1.2337) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish Brown
#7F2B0A
ΔE00 2.28
Red Brown
#8B2E16
ΔE00 3.38
Chestnut
#742802
ΔE00 3.69
Indian Red
#850E04
ΔE00 4.94
Brick Red
#8F1402
ΔE00 5.25
Brown Red
#922B05
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2A12 #12637B
analogous
#7B122F #7B2A12 #7B5E12
triadic
#7B2A12 #127B2A #2A127B
tetradic
#7B2A12 #2F7B12 #12637B #5E127B
square
#7B2A12 #2F7B12 #12637B #5E127B
split-complementary
#7B2A12 #127B5E #122F7B
monochromatic
#1B0904 #46180A #7B2A12 #B03C1A #E05228
Accessibility & contrast
On white
9.62
#7B2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7B2A12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B2A12
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2A12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2A12 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#41390E
Deuteranopia (green-blind)
#554C0E
Tritanopia (blue-blind)
#881425
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7b2a12; /* rgb */ color: rgb(123, 42, 18); /* oklch */ color: oklch(40.2% 0.118 36.6);
Tailwind
colors: {
custom: {
50: '#a96752',
500: '#7b2a12',
950: '#000000',
},
}SCSS
$custom: #7b2a12; $custom-light: #a96752; $custom-dark: #000000;
JSON
{
"hex": "#7b2a12",
"rgb": {
"r": 123,
"g": 42,
"b": 18
},
"hsl": {
"h": 13.714,
"s": 74.468,
"l": 27.647
},
"oklch": {
"l": 0.40246,
"c": 0.11822,
"h": 36.6
},
"luminance": 0.05911
}Semantic roles & 50–950 ramp
primary
#7B2A12
secondary
#3895B1
accent
#C6F137
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78