#781B31#781B31
#781B31 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.127 H 12.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #781B31 |
|---|---|
| RGB | rgb(120, 27, 49) |
| HSL | hsl(346, 63%, 29%) |
| HSV | hsv(346, 78%, 47%) |
| CMYK | cmyk(0%, 77.5%, 59.2%, 52.9%) |
| CIE-LAB | lab(26.73, 41.07, 10.62) |
| CIE-LCH | lch(26.73, 42.43, 14.50°) |
| OKLab | oklab(38.46% 0.1241 0.0265) |
| OKLCH | oklch(38.46% 0.127 12.1) |
| XYZ | xyz(8.6929, 4.9999, 3.4125) |
| Luminance | 0.0500 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.73
Wine Red
#7B0323
ΔE00 4.17
Red Wine
#8C0034
ΔE00 4.19
Wine
#722F37
ΔE00 4.56
Maroon (survey)
#650021
ΔE00 5.16
Burgundy
#800020
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781B31 #1B7862
analogous
#781B60 #781B31 #78341B
triadic
#781B31 #31781B #1B3178
tetradic
#781B31 #60781B #1B7862 #341B78
square
#781B31 #60781B #1B7862 #341B78
split-complementary
#781B31 #1B7834 #1B6078
monochromatic
#19060A #46101D #781B31 #AA2645 #D33B5F
Accessibility & contrast
On white
10.50
#781B31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#781B31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781B31
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781B31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781B31 | 1.00 | 10.50 | 2.00 | 10.50 |
| #FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343331
Deuteranopia (green-blind)
#4C462F
Tritanopia (blue-blind)
#840024
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #781b31; /* rgb */ color: rgb(120, 27, 49); /* oklch */ color: oklch(38.5% 0.127 12.1);
Tailwind
colors: {
custom: {
50: '#a56068',
500: '#781b31',
950: '#000000',
},
}SCSS
$custom: #781b31; $custom-light: #a56068; $custom-dark: #000000;
JSON
{
"hex": "#781b31",
"rgb": {
"r": 120,
"g": 27,
"b": 49
},
"hsl": {
"h": 345.806,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.38457,
"c": 0.12691,
"h": 12.1
},
"luminance": 0.04999
}Semantic roles & 50–950 ramp
primary
#781B31
secondary
#43AC93
accent
#E6BF41
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A