#7B172C#7B172C
#7B172C is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.134 H 14.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7B172C |
|---|---|
| RGB | rgb(123, 23, 44) |
| HSL | hsl(347, 68%, 29%) |
| HSV | hsv(347, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 64.2%, 51.8%) |
| CIE-LAB | lab(26.75, 43.02, 14.13) |
| CIE-LCH | lch(26.75, 45.28, 18.19°) |
| OKLab | oklab(38.55% 0.129 0.0344) |
| OKLCH | oklch(38.55% 0.134 14.9) |
| XYZ | xyz(8.9303, 5.0069, 2.8786) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.47
Bordeaux
#7B002C
ΔE00 2.90
Burgundy
#800020
ΔE00 3.74
Red Wine
#8C0034
ΔE00 4.11
Wine
#722F37
ΔE00 5.24
Maroon (survey)
#650021
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B172C #177B66
analogous
#7B175E #7B172C #7B3417
triadic
#7B172C #2C7B17 #172C7B
tetradic
#7B172C #5E7B17 #177B66 #34177B
square
#7B172C #5E7B17 #177B66 #34177B
split-complementary
#7B172C #177B34 #175E7B
monochromatic
#1A0509 #470D1A #7B172C #AF213E #D93356
Accessibility & contrast
On white
10.49
#7B172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7B172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B172C
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B172C | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34322C
Deuteranopia (green-blind)
#4D4729
Tritanopia (blue-blind)
#870020
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b172c; /* rgb */ color: rgb(123, 23, 44); /* oklch */ color: oklch(38.5% 0.134 14.9);
Tailwind
colors: {
custom: {
50: '#a85f64',
500: '#7b172c',
950: '#000000',
},
}SCSS
$custom: #7b172c; $custom-light: #a85f64; $custom-dark: #000000;
JSON
{
"hex": "#7b172c",
"rgb": {
"r": 123,
"g": 23,
"b": 44
},
"hsl": {
"h": 347.4,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.38546,
"c": 0.13352,
"h": 14.9
},
"luminance": 0.05006
}Semantic roles & 50–950 ramp
primary
#7B172C
secondary
#3EB098
accent
#EBC73C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A