#7B172B#7B172B
#7B172B is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.133 H 15.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #7B172B |
|---|---|
| RGB | rgb(123, 23, 43) |
| HSL | hsl(348, 68%, 29%) |
| HSV | hsv(348, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 65%, 51.8%) |
| CIE-LAB | lab(26.73, 42.95, 14.78) |
| CIE-LCH | lch(26.73, 45.43, 18.99°) |
| OKLab | oklab(38.52% 0.1286 0.0358) |
| OKLCH | oklch(38.52% 0.133 15.6) |
| XYZ | xyz(8.9118, 4.9995, 2.7808) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.25
Bordeaux
#7B002C
ΔE00 3.18
Burgundy
#800020
ΔE00 3.43
Red Wine
#8C0034
ΔE00 4.34
Claret
#680018
ΔE00 5.30
Wine
#722F37
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B172B #177B67
analogous
#7B175D #7B172B #7B3517
triadic
#7B172B #2B7B17 #172B7B
tetradic
#7B172B #5D7B17 #177B67 #35177B
square
#7B172B #5D7B17 #177B67 #35177B
split-complementary
#7B172B #177B35 #175D7B
monochromatic
#1A0509 #470D19 #7B172B #AF213D #D93355
Accessibility & contrast
On white
10.50
#7B172B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7B172B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B172B
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B172B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B172B | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34322B
Deuteranopia (green-blind)
#4D4728
Tritanopia (blue-blind)
#870020
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7b172b; /* rgb */ color: rgb(123, 23, 43); /* oklch */ color: oklch(38.5% 0.133 15.6);
Tailwind
colors: {
custom: {
50: '#a85f64',
500: '#7b172b',
950: '#000000',
},
}SCSS
$custom: #7b172b; $custom-light: #a85f64; $custom-dark: #000000;
JSON
{
"hex": "#7b172b",
"rgb": {
"r": 123,
"g": 23,
"b": 43
},
"hsl": {
"h": 348,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.38524,
"c": 0.13347,
"h": 15.6
},
"luminance": 0.04998
}Semantic roles & 50–950 ramp
primary
#7B172B
secondary
#3EB099
accent
#EBC83C
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979