#7B171A#7B171A
#7B171A is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.134 H 25.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7B171A |
|---|---|
| RGB | rgb(123, 23, 26) |
| HSL | hsl(358, 68%, 29%) |
| HSV | hsv(358, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 78.9%, 51.8%) |
| CIE-LAB | lab(26.45, 42.05, 25.60) |
| CIE-LCH | lch(26.45, 49.23, 31.33°) |
| OKLab | oklab(38.22% 0.1217 0.0569) |
| OKLCH | oklch(38.22% 0.134 25.1) |
| XYZ | xyz(8.6623, 4.8997, 1.4667) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.41
Burgundy
#800020
ΔE00 4.43
Blood
#770001
ΔE00 4.79
Reddy Brown
#6E1005
ΔE00 5.06
Rosewood
#65000B
ΔE00 5.19
Maroon
#800000
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B171A #177B78
analogous
#7B174C #7B171A #7B4617
triadic
#7B171A #1A7B17 #171A7B
tetradic
#7B171A #4C7B17 #177B78 #46177B
square
#7B171A #4C7B17 #177B78 #46177B
split-complementary
#7B171A #177B46 #174C7B
monochromatic
#1A0505 #470D0F #7B171A #AF2125 #D93338
Accessibility & contrast
On white
10.61
#7B171A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7B171A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B171A
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B171A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B171A | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363119
Deuteranopia (green-blind)
#4F4616
Tritanopia (blue-blind)
#880019
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b171a; /* rgb */ color: rgb(123, 23, 26); /* oklch */ color: oklch(38.2% 0.134 25.1);
Tailwind
colors: {
custom: {
50: '#a95e56',
500: '#7b171a',
950: '#000000',
},
}SCSS
$custom: #7b171a; $custom-light: #a95e56; $custom-dark: #000000;
JSON
{
"hex": "#7b171a",
"rgb": {
"r": 123,
"g": 23,
"b": 26
},
"hsl": {
"h": 358.2,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.3822,
"c": 0.13437,
"h": 25.1
},
"luminance": 0.04898
}Semantic roles & 50–950 ramp
primary
#7B171A
secondary
#3EB0AC
accent
#EBE63C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978