#7B172A#7B172A
#7B172A is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.133 H 16.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7B172A |
|---|---|
| RGB | rgb(123, 23, 42) |
| HSL | hsl(349, 68%, 29%) |
| HSV | hsv(349, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 65.9%, 51.8%) |
| CIE-LAB | lab(26.71, 42.89, 15.43) |
| CIE-LCH | lch(26.71, 45.58, 19.78°) |
| OKLab | oklab(38.5% 0.1282 0.0372) |
| OKLCH | oklch(38.5% 0.133 16.2) |
| XYZ | xyz(8.8936, 4.9923, 2.6853) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.07
Burgundy
#800020
ΔE00 3.14
Bordeaux
#7B002C
ΔE00 3.48
Red Wine
#8C0034
ΔE00 4.60
Claret
#680018
ΔE00 5.13
Wine
#722F37
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B172A #177B68
analogous
#7B175C #7B172A #7B3617
triadic
#7B172A #2A7B17 #172A7B
tetradic
#7B172A #5C7B17 #177B68 #36177B
square
#7B172A #5C7B17 #177B68 #36177B
split-complementary
#7B172A #177B36 #175C7B
monochromatic
#1A0509 #470D18 #7B172A #AF213C #D93353
Accessibility & contrast
On white
10.51
#7B172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7B172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B172A
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B172A | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34322A
Deuteranopia (green-blind)
#4D4727
Tritanopia (blue-blind)
#87001F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b172a; /* rgb */ color: rgb(123, 23, 42); /* oklch */ color: oklch(38.5% 0.133 16.2);
Tailwind
colors: {
custom: {
50: '#a85f63',
500: '#7b172a',
950: '#000000',
},
}SCSS
$custom: #7b172a; $custom-light: #a85f63; $custom-dark: #000000;
JSON
{
"hex": "#7b172a",
"rgb": {
"r": 123,
"g": 23,
"b": 42
},
"hsl": {
"h": 348.6,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.38502,
"c": 0.13345,
"h": 16.2
},
"luminance": 0.04991
}Semantic roles & 50–950 ramp
primary
#7B172A
secondary
#3EB09A
accent
#EBCA3C
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979