#78171A#78171A
#78171A is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.6% C 0.131 H 24.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #78171A |
|---|---|
| RGB | rgb(120, 23, 26) |
| HSL | hsl(358, 68%, 28%) |
| HSV | hsv(358, 81%, 47%) |
| CMYK | cmyk(0%, 80.8%, 78.3%, 52.9%) |
| CIE-LAB | lab(25.81, 41.08, 24.71) |
| CIE-LCH | lch(25.81, 47.94, 31.03°) |
| OKLab | oklab(37.63% 0.1191 0.0552) |
| OKLCH | oklch(37.63% 0.131 24.9) |
| XYZ | xyz(8.2396, 4.6817, 1.4469) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.35
Rosewood
#65000B
ΔE00 4.71
Blood
#770001
ΔE00 4.92
Reddy Brown
#6E1005
ΔE00 4.98
Crimson (survey)
#8C000F
ΔE00 4.98
Wine Red
#7B0323
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78171A #177875
analogous
#78174A #78171A #784417
triadic
#78171A #1A7817 #171A78
tetradic
#78171A #4A7817 #177875 #441778
square
#78171A #4A7817 #177875 #441778
split-complementary
#78171A #177844 #174A78
monochromatic
#1A0506 #450D0F #78171A #AB2125 #D83237
Accessibility & contrast
On white
10.85
#78171A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#78171A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78171A
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78171A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78171A | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#850019
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #78171a; /* rgb */ color: rgb(120, 23, 26); /* oklch */ color: oklch(37.6% 0.131 24.9);
Tailwind
colors: {
custom: {
50: '#a75e56',
500: '#78171a',
950: '#000000',
},
}SCSS
$custom: #78171a; $custom-light: #a75e56; $custom-dark: #000000;
JSON
{
"hex": "#78171a",
"rgb": {
"r": 120,
"g": 23,
"b": 26
},
"hsl": {
"h": 358.144,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.37631,
"c": 0.13124,
"h": 24.9
},
"luminance": 0.0468
}Semantic roles & 50–950 ramp
primary
#78171A
secondary
#3EADAA
accent
#EBE53D
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110503
muted
#807978