#78172F#78172F
#78172F is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.0% C 0.131 H 12.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #78172F |
|---|---|
| RGB | rgb(120, 23, 47) |
| HSL | hsl(345, 68%, 28%) |
| HSV | hsv(345, 81%, 47%) |
| CMYK | cmyk(0%, 80.8%, 60.8%, 52.9%) |
| CIE-LAB | lab(26.19, 42.31, 11.24) |
| CIE-LCH | lch(26.19, 43.77, 14.88°) |
| OKLab | oklab(38.04% 0.1277 0.0279) |
| OKLCH | oklch(38.04% 0.131 12.3) |
| XYZ | xyz(8.5661, 4.8124, 3.1666) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.19
Wine Red
#7B0323
ΔE00 3.67
Red Wine
#8C0034
ΔE00 4.02
Maroon (survey)
#650021
ΔE00 4.75
Wine
#722F37
ΔE00 5.09
Burgundy
#800020
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78172F #177860
analogous
#78175F #78172F #783017
triadic
#78172F #2F7817 #172F78
tetradic
#78172F #5F7817 #177860 #301778
square
#78172F #5F7817 #177860 #301778
split-complementary
#78172F #177830 #175F78
monochromatic
#1A050A #450D1B #78172F #AB2143 #D8325B
Accessibility & contrast
On white
10.70
#78172F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#78172F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78172F
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78172F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78172F | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32312F
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#840021
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #78172f; /* rgb */ color: rgb(120, 23, 47); /* oklch */ color: oklch(38.0% 0.131 12.3);
Tailwind
colors: {
custom: {
50: '#a55e67',
500: '#78172f',
950: '#000000',
},
}SCSS
$custom: #78172f; $custom-light: #a55e67; $custom-dark: #000000;
JSON
{
"hex": "#78172f",
"rgb": {
"r": 120,
"g": 23,
"b": 47
},
"hsl": {
"h": 345.155,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.38041,
"c": 0.13073,
"h": 12.3
},
"luminance": 0.04811
}Semantic roles & 50–950 ramp
primary
#78172F
secondary
#3EAD92
accent
#EBC03D
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A