#78171C#78171C
#78171C is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.7% C 0.131 H 23.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #78171C |
|---|---|
| RGB | rgb(120, 23, 28) |
| HSL | hsl(357, 68%, 28%) |
| HSV | hsv(357, 81%, 47%) |
| CMYK | cmyk(0%, 80.8%, 76.7%, 52.9%) |
| CIE-LAB | lab(25.84, 41.17, 23.46) |
| CIE-LCH | lch(25.84, 47.39, 29.68°) |
| OKLab | oklab(37.66% 0.1198 0.053) |
| OKLCH | oklch(37.66% 0.131 23.9) |
| XYZ | xyz(8.2627, 4.6910, 1.5688) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.75
Wine Red
#7B0323
ΔE00 4.75
Rosewood
#65000B
ΔE00 4.81
Claret
#680018
ΔE00 5.13
Crimson (survey)
#8C000F
ΔE00 5.46
Blood
#770001
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78171C #177873
analogous
#78174C #78171C #784217
triadic
#78171C #1C7817 #171C78
tetradic
#78171C #4C7817 #177873 #421778
square
#78171C #4C7817 #177873 #421778
split-complementary
#78171C #177842 #174C78
monochromatic
#1A0506 #450D10 #78171C #AB2128 #D8323A
Accessibility & contrast
On white
10.84
#78171C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#78171C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78171C
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78171C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78171C | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#85001A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #78171c; /* rgb */ color: rgb(120, 23, 28); /* oklch */ color: oklch(37.7% 0.131 23.9);
Tailwind
colors: {
custom: {
50: '#a65e58',
500: '#78171c',
950: '#000000',
},
}SCSS
$custom: #78171c; $custom-light: #a65e58; $custom-dark: #000000;
JSON
{
"hex": "#78171c",
"rgb": {
"r": 120,
"g": 23,
"b": 28
},
"hsl": {
"h": 356.907,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.37661,
"c": 0.13102,
"h": 23.9
},
"luminance": 0.0469
}Semantic roles & 50–950 ramp
primary
#78171C
secondary
#3EADA7
accent
#EBE23D
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110503
muted
#807978