#781B40#781B40
#781B40 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.130 H 1.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #781B40 |
|---|---|
| RGB | rgb(120, 27, 64) |
| HSL | hsl(336, 63%, 29%) |
| HSV | hsv(336, 78%, 47%) |
| CMYK | cmyk(0%, 77.5%, 46.7%, 52.9%) |
| CIE-LAB | lab(27.15, 42.43, 1.08) |
| CIE-LCH | lch(27.15, 42.44, 1.45°) |
| OKLab | oklab(38.9% 0.1301 0.0033) |
| OKLCH | oklch(38.9% 0.13 1.4) |
| XYZ | xyz(9.0638, 5.1483, 5.3659) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.70
Merlot
#730039
ΔE00 3.15
Red Purple
#820747
ΔE00 3.31
Mulberry
#920A4E
ΔE00 5.30
Reddish Purple
#910951
ΔE00 5.58
Bordeaux
#7B002C
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781B40 #1B7853
analogous
#781B6F #781B40 #78251B
triadic
#781B40 #40781B #1B4078
tetradic
#781B40 #6F781B #1B7853 #251B78
square
#781B40 #6F781B #1B7853 #251B78
split-complementary
#781B40 #1B7825 #1B6F78
monochromatic
#19060D #461025 #781B40 #AA265B #D33B77
Accessibility & contrast
On white
10.35
#781B40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#781B40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781B40
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781B40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781B40 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#49473E
Tritanopia (blue-blind)
#830A2B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #781b40; /* rgb */ color: rgb(120, 27, 64); /* oklch */ color: oklch(38.9% 0.130 1.4);
Tailwind
colors: {
custom: {
50: '#a46174',
500: '#781b40',
950: '#000000',
},
}SCSS
$custom: #781b40; $custom-light: #a46174; $custom-dark: #000000;
JSON
{
"hex": "#781b40",
"rgb": {
"r": 120,
"g": 27,
"b": 64
},
"hsl": {
"h": 336.129,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.38902,
"c": 0.13017,
"h": 1.4
},
"luminance": 0.05147
}Semantic roles & 50–950 ramp
primary
#781B40
secondary
#43AC82
accent
#E6A541
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B