#78181F#78181F
#78181F is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.8% C 0.130 H 22.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #78181F |
|---|---|
| RGB | rgb(120, 24, 31) |
| HSL | hsl(356, 67%, 28%) |
| HSV | hsv(356, 80%, 47%) |
| CMYK | cmyk(0%, 80%, 74.2%, 52.9%) |
| CIE-LAB | lab(26.00, 40.98, 21.71) |
| CIE-LCH | lch(26.00, 46.37, 27.92°) |
| OKLab | oklab(37.8% 0.1199 0.0498) |
| OKLCH | oklch(37.8% 0.13 22.6) |
| XYZ | xyz(8.3206, 4.7466, 1.7741) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.15
Wine Red
#7B0323
ΔE00 3.95
Claret
#680018
ΔE00 4.73
Rosewood
#65000B
ΔE00 5.20
Crimson (survey)
#8C000F
ΔE00 6.20
Blood
#770001
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78181F #187871
analogous
#78184F #78181F #784118
triadic
#78181F #1F7818 #181F78
tetradic
#78181F #4F7818 #187871 #411878
square
#78181F #4F7818 #187871 #411878
split-complementary
#78181F #187841 #184F78
monochromatic
#1A0507 #450E12 #78181F #AB222C #D63440
Accessibility & contrast
On white
10.77
#78181F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#78181F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78181F
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78181F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78181F | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35301E
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#85001C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #78181f; /* rgb */ color: rgb(120, 24, 31); /* oklch */ color: oklch(37.8% 0.130 22.6);
Tailwind
colors: {
custom: {
50: '#a65e5a',
500: '#78181f',
950: '#000000',
},
}SCSS
$custom: #78181f; $custom-light: #a65e5a; $custom-dark: #000000;
JSON
{
"hex": "#78181f",
"rgb": {
"r": 120,
"g": 24,
"b": 31
},
"hsl": {
"h": 355.625,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.37797,
"c": 0.12987,
"h": 22.6
},
"luminance": 0.04745
}Semantic roles & 50–950 ramp
primary
#78181F
secondary
#3FADA5
accent
#EADD3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979