#7B271A#7B271A
#7B271A is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.9% C 0.119 H 31.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7B271A |
|---|---|
| RGB | rgb(123, 39, 26) |
| HSL | hsl(8, 65%, 29%) |
| HSV | hsv(8, 79%, 48%) |
| CMYK | cmyk(0%, 68.3%, 78.9%, 51.8%) |
| CIE-LAB | lab(28.74, 35.73, 28.09) |
| CIE-LCH | lch(28.74, 45.45, 38.17°) |
| OKLab | oklab(39.93% 0.1019 0.0623) |
| OKLCH | oklch(39.93% 0.119 31.5) |
| XYZ | xyz(9.0814, 5.7379, 1.6064) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 4.68
Indian Red
#850E04
ΔE00 4.68
Reddy Brown
#6E1005
ΔE00 4.79
Maroon
#800000
ΔE00 5.24
Blood
#770001
ΔE00 5.36
Dark Red
#840000
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B271A #1A6E7B
analogous
#7B1A3E #7B271A #7B581A
triadic
#7B271A #1A7B27 #271A7B
tetradic
#7B271A #3E7B1A #1A6E7B #581A7B
square
#7B271A #3E7B1A #1A6E7B #581A7B
split-complementary
#7B271A #1A7B58 #1A3E7B
monochromatic
#190805 #48170F #7B271A #AE3725 #D54F3A
Accessibility & contrast
On white
9.78
#7B271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7B271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B271A
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B271A | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3818
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#880F25
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b271a; /* rgb */ color: rgb(123, 39, 26); /* oklch */ color: oklch(39.9% 0.119 31.5);
Tailwind
colors: {
custom: {
50: '#a86657',
500: '#7b271a',
950: '#000000',
},
}SCSS
$custom: #7b271a; $custom-light: #a86657; $custom-dark: #000000;
JSON
{
"hex": "#7b271a",
"rgb": {
"r": 123,
"g": 39,
"b": 26
},
"hsl": {
"h": 8.041,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.39934,
"c": 0.11943,
"h": 31.5
},
"luminance": 0.05737
}Semantic roles & 50–950 ramp
primary
#7B271A
secondary
#42A1AF
accent
#D2E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78