#78171F#78171F
#78171F is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.7% C 0.131 H 22.3°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #78171F |
|---|---|
| RGB | rgb(120, 23, 31) |
| HSL | hsl(355, 68%, 28%) |
| HSV | hsv(355, 81%, 47%) |
| CMYK | cmyk(0%, 80.8%, 74.2%, 52.9%) |
| CIE-LAB | lab(25.88, 41.31, 21.57) |
| CIE-LCH | lch(25.88, 46.60, 27.57°) |
| OKLab | oklab(37.71% 0.121 0.0495) |
| OKLCH | oklch(37.71% 0.131 22.3) |
| XYZ | xyz(8.3004, 4.7061, 1.7674) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 2.97
Wine Red
#7B0323
ΔE00 3.74
Claret
#680018
ΔE00 4.58
Rosewood
#65000B
ΔE00 5.18
Crimson (survey)
#8C000F
ΔE00 6.29
Blood
#770001
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78171F #177870
analogous
#78174F #78171F #784017
triadic
#78171F #1F7817 #171F78
tetradic
#78171F #4F7817 #177870 #401778
square
#78171F #4F7817 #177870 #401778
split-complementary
#78171F #177840 #174F78
monochromatic
#1A0507 #450D12 #78171F #AB212C #D8323F
Accessibility & contrast
On white
10.82
#78171F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#78171F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78171F
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78171F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78171F | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34301E
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#85001B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #78171f; /* rgb */ color: rgb(120, 23, 31); /* oklch */ color: oklch(37.7% 0.131 22.3);
Tailwind
colors: {
custom: {
50: '#a65e5a',
500: '#78171f',
950: '#000000',
},
}SCSS
$custom: #78171f; $custom-light: #a65e5a; $custom-dark: #000000;
JSON
{
"hex": "#78171f",
"rgb": {
"r": 120,
"g": 23,
"b": 31
},
"hsl": {
"h": 355.052,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.37708,
"c": 0.13074,
"h": 22.3
},
"luminance": 0.04705
}Semantic roles & 50–950 ramp
primary
#78171F
secondary
#3EADA4
accent
#EBDC3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978