#78171B#78171B
#78171B is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.6% C 0.131 H 24.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #78171B |
|---|---|
| RGB | rgb(120, 23, 27) |
| HSL | hsl(358, 68%, 28%) |
| HSV | hsv(358, 81%, 47%) |
| CMYK | cmyk(0%, 80.8%, 77.5%, 52.9%) |
| CIE-LAB | lab(25.82, 41.12, 24.09) |
| CIE-LCH | lch(25.82, 47.66, 30.36°) |
| OKLab | oklab(37.65% 0.1194 0.0541) |
| OKLCH | oklch(37.65% 0.131 24.4) |
| XYZ | xyz(8.2509, 4.6863, 1.5068) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.04
Rosewood
#65000B
ΔE00 4.75
Wine Red
#7B0323
ΔE00 5.10
Crimson (survey)
#8C000F
ΔE00 5.21
Blood
#770001
ΔE00 5.24
Reddy Brown
#6E1005
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78171B #177874
analogous
#78174B #78171B #784317
triadic
#78171B #1B7817 #171B78
tetradic
#78171B #4B7817 #177874 #431778
square
#78171B #4B7817 #177874 #431778
split-complementary
#78171B #177843 #174B78
monochromatic
#1A0506 #450D0F #78171B #AB2127 #D83239
Accessibility & contrast
On white
10.84
#78171B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#78171B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78171B
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78171B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78171B | 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)
#35301A
Deuteranopia (green-blind)
#4D4517
Tritanopia (blue-blind)
#85001A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #78171b; /* rgb */ color: rgb(120, 23, 27); /* oklch */ color: oklch(37.6% 0.131 24.4);
Tailwind
colors: {
custom: {
50: '#a75e57',
500: '#78171b',
950: '#000000',
},
}SCSS
$custom: #78171b; $custom-light: #a75e57; $custom-dark: #000000;
JSON
{
"hex": "#78171b",
"rgb": {
"r": 120,
"g": 23,
"b": 27
},
"hsl": {
"h": 357.526,
"s": 67.832,
"l": 28.039
},
"oklch": {
"l": 0.37646,
"c": 0.13113,
"h": 24.4
},
"luminance": 0.04685
}Semantic roles & 50–950 ramp
primary
#78171B
secondary
#3EADA9
accent
#EBE43D
background
#FBF5F5
surface
#F6E9E9
border
#D0C5C5
text
#110503
muted
#807978