#781C31#781C31
#781C31 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.126 H 12.4°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #781C31 |
|---|---|
| RGB | rgb(120, 28, 49) |
| HSL | hsl(346, 62%, 29%) |
| HSV | hsv(346, 77%, 47%) |
| CMYK | cmyk(0%, 76.7%, 59.2%, 52.9%) |
| CIE-LAB | lab(26.87, 40.70, 10.80) |
| CIE-LCH | lch(26.87, 42.11, 14.86°) |
| OKLab | oklab(38.56% 0.1229 0.027) |
| OKLCH | oklch(38.56% 0.126 12.4) |
| XYZ | xyz(8.7162, 5.0466, 3.4203) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.90
Wine Red
#7B0323
ΔE00 4.15
Red Wine
#8C0034
ΔE00 4.28
Wine
#722F37
ΔE00 4.39
Maroon (survey)
#650021
ΔE00 5.26
Burgundy
#800020
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781C31 #1C7863
analogous
#781C5F #781C31 #78351C
triadic
#781C31 #31781C #1C3178
tetradic
#781C31 #5F781C #1C7863 #351C78
square
#781C31 #5F781C #1C7863 #351C78
split-complementary
#781C31 #1C7835 #1C5F78
monochromatic
#19060A #46101D #781C31 #AA2845 #D23D5F
Accessibility & contrast
On white
10.45
#781C31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#781C31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781C31
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781C31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781C31 | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343331
Deuteranopia (green-blind)
#4C462F
Tritanopia (blue-blind)
#840225
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #781c31; /* rgb */ color: rgb(120, 28, 49); /* oklch */ color: oklch(38.6% 0.126 12.4);
Tailwind
colors: {
custom: {
50: '#a56168',
500: '#781c31',
950: '#000000',
},
}SCSS
$custom: #781c31; $custom-light: #a56168; $custom-dark: #000000;
JSON
{
"hex": "#781c31",
"rgb": {
"r": 120,
"g": 28,
"b": 49
},
"hsl": {
"h": 346.304,
"s": 62.162,
"l": 29.02
},
"oklch": {
"l": 0.38555,
"c": 0.12583,
"h": 12.4
},
"luminance": 0.05045
}Semantic roles & 50–950 ramp
primary
#781C31
secondary
#44AC94
accent
#E5C043
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A