#781B2A#781B2A
#781B2A is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.127 H 16.8°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #781B2A |
|---|---|
| RGB | rgb(120, 27, 42) |
| HSL | hsl(350, 63%, 29%) |
| HSV | hsv(350, 78%, 47%) |
| CMYK | cmyk(0%, 77.5%, 65%, 52.9%) |
| CIE-LAB | lab(26.58, 40.56, 15.13) |
| CIE-LCH | lch(26.58, 43.29, 20.46°) |
| OKLab | oklab(38.29% 0.1211 0.0366) |
| OKLCH | oklch(38.29% 0.127 16.8) |
| XYZ | xyz(8.5565, 4.9454, 2.6940) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Wine Red
#7B0323
ΔE00 2.60
Burgundy
#800020
ΔE00 3.56
Bordeaux
#7B002C
ΔE00 4.02
Wine
#722F37
ΔE00 4.80
Claret
#680018
ΔE00 5.00
Red Wine
#8C0034
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781B2A #1B7869
analogous
#781B59 #781B2A #783B1B
triadic
#781B2A #2A781B #1B2A78
tetradic
#781B2A #59781B #1B7869 #3B1B78
square
#781B2A #59781B #1B7869 #3B1B78
split-complementary
#781B2A #1B783B #1B5978
monochromatic
#190609 #461019 #781B2A #AA263B #D33B53
Accessibility & contrast
On white
10.56
#781B2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#781B2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781B2A
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781B2A | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35322A
Deuteranopia (green-blind)
#4C4627
Tritanopia (blue-blind)
#840021
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #781b2a; /* rgb */ color: rgb(120, 27, 42); /* oklch */ color: oklch(38.3% 0.127 16.8);
Tailwind
colors: {
custom: {
50: '#a56063',
500: '#781b2a',
950: '#000000',
},
}SCSS
$custom: #781b2a; $custom-light: #a56063; $custom-dark: #000000;
JSON
{
"hex": "#781b2a",
"rgb": {
"r": 120,
"g": 27,
"b": 42
},
"hsl": {
"h": 350.323,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.3829,
"c": 0.12653,
"h": 16.8
},
"luminance": 0.04944
}Semantic roles & 50–950 ramp
primary
#781B2A
secondary
#43AC9B
accent
#E6CC41
background
#FAF5F5
surface
#F4EAEA
border
#CEC6C6
text
#100505
muted
#7F7979