#7B171C#7B171C
#7B171C is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.134 H 24.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7B171C |
|---|---|
| RGB | rgb(123, 23, 28) |
| HSL | hsl(357, 68%, 29%) |
| HSV | hsv(357, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 77.2%, 51.8%) |
| CIE-LAB | lab(26.47, 42.13, 24.36) |
| CIE-LCH | lch(26.47, 48.67, 30.04°) |
| OKLab | oklab(38.25% 0.1225 0.0548) |
| OKLCH | oklch(38.25% 0.134 24.1) |
| XYZ | xyz(8.6854, 4.9090, 1.5886) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.80
Crimson (survey)
#8C000F
ΔE00 4.89
Wine Red
#7B0323
ΔE00 5.00
Rosewood
#65000B
ΔE00 5.25
Blood
#770001
ΔE00 5.42
Reddy Brown
#6E1005
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B171C #177B76
analogous
#7B174E #7B171C #7B4417
triadic
#7B171C #1C7B17 #171C7B
tetradic
#7B171C #4E7B17 #177B76 #44177B
square
#7B171C #4E7B17 #177B76 #44177B
split-complementary
#7B171C #177B44 #174E7B
monochromatic
#1A0506 #470D10 #7B171C #AF2128 #D9333C
Accessibility & contrast
On white
10.60
#7B171C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#7B171C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B171C
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B171C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B171C | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36311B
Deuteranopia (green-blind)
#4F4618
Tritanopia (blue-blind)
#88001A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b171c; /* rgb */ color: rgb(123, 23, 28); /* oklch */ color: oklch(38.2% 0.134 24.1);
Tailwind
colors: {
custom: {
50: '#a95e58',
500: '#7b171c',
950: '#000000',
},
}SCSS
$custom: #7b171c; $custom-light: #a95e58; $custom-dark: #000000;
JSON
{
"hex": "#7b171c",
"rgb": {
"r": 123,
"g": 23,
"b": 28
},
"hsl": {
"h": 357,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.38248,
"c": 0.13415,
"h": 24.1
},
"luminance": 0.04908
}Semantic roles & 50–950 ramp
primary
#7B171C
secondary
#3EB0AA
accent
#EBE33C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978