#781827#781827
#781827 is a dark, vivid red. Relative luminance 0.048; OKLCH L 37.9% C 0.129 H 17.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #781827 |
|---|---|
| RGB | rgb(120, 24, 39) |
| HSL | hsl(351, 67%, 28%) |
| HSV | hsv(351, 80%, 47%) |
| CMYK | cmyk(0%, 80%, 67.5%, 52.9%) |
| CIE-LAB | lab(26.14, 41.43, 16.58) |
| CIE-LCH | lch(26.14, 44.62, 21.81°) |
| OKLab | oklab(37.95% 0.1232 0.0396) |
| OKLCH | oklch(37.95% 0.129 17.8) |
| XYZ | xyz(8.4395, 4.7941, 2.4000) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.11
Burgundy
#800020
ΔE00 2.87
Bordeaux
#7B002C
ΔE00 4.34
Claret
#680018
ΔE00 4.46
Wine
#722F37
ΔE00 5.48
Maroon (survey)
#650021
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781827 #187869
analogous
#781857 #781827 #783918
triadic
#781827 #277818 #182778
tetradic
#781827 #577818 #187869 #391878
square
#781827 #577818 #187869 #391878
split-complementary
#781827 #187839 #185778
monochromatic
#1A0508 #450E16 #781827 #AB2238 #D6344D
Accessibility & contrast
On white
10.72
#781827 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#781827 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781827
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781827 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781827 | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343127
Deuteranopia (green-blind)
#4C4524
Tritanopia (blue-blind)
#84001F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #781827; /* rgb */ color: rgb(120, 24, 39); /* oklch */ color: oklch(37.9% 0.129 17.8);
Tailwind
colors: {
custom: {
50: '#a65f60',
500: '#781827',
950: '#000000',
},
}SCSS
$custom: #781827; $custom-light: #a65f60; $custom-dark: #000000;
JSON
{
"hex": "#781827",
"rgb": {
"r": 120,
"g": 24,
"b": 39
},
"hsl": {
"h": 350.625,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.37946,
"c": 0.12945,
"h": 17.8
},
"luminance": 0.04793
}Semantic roles & 50–950 ramp
primary
#781827
secondary
#3FAD9C
accent
#EACF3E
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#110505
muted
#807979