#7B171E#7B171E
#7B171E is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.134 H 23.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7B171E |
|---|---|
| RGB | rgb(123, 23, 30) |
| HSL | hsl(356, 68%, 29%) |
| HSV | hsv(356, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 75.6%, 51.8%) |
| CIE-LAB | lab(26.50, 42.22, 23.11) |
| CIE-LCH | lch(26.50, 48.13, 28.69°) |
| OKLab | oklab(38.28% 0.1232 0.0525) |
| OKLCH | oklch(38.28% 0.134 23.1) |
| XYZ | xyz(8.7101, 4.9189, 1.7189) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.21
Wine Red
#7B0323
ΔE00 4.32
Claret
#680018
ΔE00 5.30
Rosewood
#65000B
ΔE00 5.41
Crimson (survey)
#8C000F
ΔE00 5.44
Blood
#770001
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B171E #177B74
analogous
#7B1750 #7B171E #7B4217
triadic
#7B171E #1E7B17 #171E7B
tetradic
#7B171E #507B17 #177B74 #42177B
square
#7B171E #507B17 #177B74 #42177B
split-complementary
#7B171E #177B42 #17507B
monochromatic
#1A0506 #470D11 #7B171E #AF212B #D9333F
Accessibility & contrast
On white
10.59
#7B171E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7B171E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B171E
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B171E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B171E | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36311D
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#88001B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b171e; /* rgb */ color: rgb(123, 23, 30); /* oklch */ color: oklch(38.3% 0.134 23.1);
Tailwind
colors: {
custom: {
50: '#a95f59',
500: '#7b171e',
950: '#000000',
},
}SCSS
$custom: #7b171e; $custom-light: #a95f59; $custom-dark: #000000;
JSON
{
"hex": "#7b171e",
"rgb": {
"r": 123,
"g": 23,
"b": 30
},
"hsl": {
"h": 355.8,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.38278,
"c": 0.13395,
"h": 23.1
},
"luminance": 0.04917
}Semantic roles & 50–950 ramp
primary
#7B171E
secondary
#3EB0A8
accent
#EBDF3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978