#781E40#781E40
#781E40 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.2% C 0.127 H 2.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #781E40 |
|---|---|
| RGB | rgb(120, 30, 64) |
| HSL | hsl(337, 60%, 29%) |
| HSV | hsv(337, 75%, 47%) |
| CMYK | cmyk(0%, 75%, 46.7%, 52.9%) |
| CIE-LAB | lab(27.55, 41.31, 1.66) |
| CIE-LCH | lch(27.55, 41.34, 2.30°) |
| OKLab | oklab(39.2% 0.1266 0.0047) |
| OKLCH | oklch(39.2% 0.127 2.1) |
| XYZ | xyz(9.1361, 5.2930, 5.3900) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.15
Merlot
#730039
ΔE00 3.66
Red Purple
#820747
ΔE00 3.79
Mulberry
#920A4E
ΔE00 5.50
Reddish Purple
#910951
ΔE00 5.84
Bordeaux
#7B002C
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781E40 #1E7856
analogous
#781E6D #781E40 #78291E
triadic
#781E40 #40781E #1E4078
tetradic
#781E40 #6D781E #1E7856 #291E78
square
#781E40 #6D781E #1E7856 #291E78
split-complementary
#781E40 #1E7829 #1E6D78
monochromatic
#18060D #471226 #781E40 #A92A5A #CF4177
Accessibility & contrast
On white
10.20
#781E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#781E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781E40
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781E40 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323641
Deuteranopia (green-blind)
#4A473E
Tritanopia (blue-blind)
#830F2C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #781e40; /* rgb */ color: rgb(120, 30, 64); /* oklch */ color: oklch(39.2% 0.127 2.1);
Tailwind
colors: {
custom: {
50: '#a36274',
500: '#781e40',
950: '#000000',
},
}SCSS
$custom: #781e40; $custom-light: #a36274; $custom-dark: #000000;
JSON
{
"hex": "#781e40",
"rgb": {
"r": 120,
"g": 30,
"b": 64
},
"hsl": {
"h": 337.333,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.39197,
"c": 0.12664,
"h": 2.1
},
"luminance": 0.05292
}Semantic roles & 50–950 ramp
primary
#781E40
secondary
#46AC85
accent
#E3A745
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B