#7B172F#7B172F
#7B172F is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.134 H 13.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7B172F |
|---|---|
| RGB | rgb(123, 23, 47) |
| HSL | hsl(346, 68%, 29%) |
| HSV | hsv(346, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 61.8%, 51.8%) |
| CIE-LAB | lab(26.82, 43.23, 12.20) |
| CIE-LCH | lch(26.82, 44.92, 15.76°) |
| OKLab | oklab(38.62% 0.1303 0.0301) |
| OKLCH | oklch(38.62% 0.134 13) |
| XYZ | xyz(8.9888, 5.0303, 3.1864) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.28
Wine Red
#7B0323
ΔE00 3.32
Red Wine
#8C0034
ΔE00 3.60
Burgundy
#800020
ΔE00 4.74
Wine
#722F37
ΔE00 5.17
Maroon (survey)
#650021
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B172F #177B63
analogous
#7B1761 #7B172F #7B3117
triadic
#7B172F #2F7B17 #172F7B
tetradic
#7B172F #617B17 #177B63 #31177B
square
#7B172F #617B17 #177B63 #31177B
split-complementary
#7B172F #177B31 #17617B
monochromatic
#1A050A #470D1B #7B172F #AF2143 #D9335B
Accessibility & contrast
On white
10.47
#7B172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#7B172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B172F
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B172F | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33322F
Deuteranopia (green-blind)
#4D472C
Tritanopia (blue-blind)
#870021
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b172f; /* rgb */ color: rgb(123, 23, 47); /* oklch */ color: oklch(38.6% 0.134 13.0);
Tailwind
colors: {
custom: {
50: '#a75f67',
500: '#7b172f',
950: '#000000',
},
}SCSS
$custom: #7b172f; $custom-light: #a75f67; $custom-dark: #000000;
JSON
{
"hex": "#7b172f",
"rgb": {
"r": 123,
"g": 23,
"b": 47
},
"hsl": {
"h": 345.6,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.38617,
"c": 0.13371,
"h": 13
},
"luminance": 0.05029
}Semantic roles & 50–950 ramp
primary
#7B172F
secondary
#3EB095
accent
#EBC13C
background
#FBF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A