#7B171F#7B171F
#7B171F is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.134 H 22.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7B171F |
|---|---|
| RGB | rgb(123, 23, 31) |
| HSL | hsl(355, 68%, 29%) |
| HSV | hsv(355, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 74.8%, 51.8%) |
| CIE-LAB | lab(26.52, 42.27, 22.48) |
| CIE-LCH | lch(26.52, 47.88, 28.00°) |
| OKLab | oklab(38.29% 0.1236 0.0513) |
| OKLCH | oklch(38.29% 0.134 22.5) |
| XYZ | xyz(8.7231, 4.9240, 1.7872) |
| Luminance | 0.0492 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.94
Wine Red
#7B0323
ΔE00 3.99
Claret
#680018
ΔE00 5.14
Rosewood
#65000B
ΔE00 5.53
Crimson (survey)
#8C000F
ΔE00 5.74
Blood
#770001
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B171F #177B73
analogous
#7B1751 #7B171F #7B4117
triadic
#7B171F #1F7B17 #171F7B
tetradic
#7B171F #517B17 #177B73 #41177B
square
#7B171F #517B17 #177B73 #41177B
split-complementary
#7B171F #177B41 #17517B
monochromatic
#1A0506 #470D12 #7B171F #AF212C #D93341
Accessibility & contrast
On white
10.58
#7B171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7B171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B171F
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B171F | 1.00 | 10.58 | 1.98 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#88001B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b171f; /* rgb */ color: rgb(123, 23, 31); /* oklch */ color: oklch(38.3% 0.134 22.5);
Tailwind
colors: {
custom: {
50: '#a95f5a',
500: '#7b171f',
950: '#000000',
},
}SCSS
$custom: #7b171f; $custom-light: #a95f5a; $custom-dark: #000000;
JSON
{
"hex": "#7b171f",
"rgb": {
"r": 123,
"g": 23,
"b": 31
},
"hsl": {
"h": 355.2,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.38294,
"c": 0.13385,
"h": 22.5
},
"luminance": 0.04923
}Semantic roles & 50–950 ramp
primary
#7B171F
secondary
#3EB0A7
accent
#EBDD3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979