#781C40#781C40
#781C40 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.129 H 1.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #781C40 |
|---|---|
| RGB | rgb(120, 28, 64) |
| HSL | hsl(337, 62%, 29%) |
| HSV | hsv(337, 77%, 47%) |
| CMYK | cmyk(0%, 76.7%, 46.7%, 52.9%) |
| CIE-LAB | lab(27.28, 42.06, 1.26) |
| CIE-LCH | lch(27.28, 42.08, 1.72°) |
| OKLab | oklab(39% 0.129 0.0037) |
| OKLCH | oklch(39% 0.129 1.7) |
| XYZ | xyz(9.0871, 5.1949, 5.3737) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.84
Merlot
#730039
ΔE00 3.31
Red Purple
#820747
ΔE00 3.46
Mulberry
#920A4E
ΔE00 5.36
Reddish Purple
#910951
ΔE00 5.66
Bordeaux
#7B002C
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781C40 #1C7854
analogous
#781C6E #781C40 #78261C
triadic
#781C40 #40781C #1C4078
tetradic
#781C40 #6E781C #1C7854 #261C78
square
#781C40 #6E781C #1C7854 #261C78
split-complementary
#781C40 #1C7826 #1C6E78
monochromatic
#19060D #461026 #781C40 #AA285A #D23D77
Accessibility & contrast
On white
10.30
#781C40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#781C40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781C40
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781C40 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313541
Deuteranopia (green-blind)
#49473E
Tritanopia (blue-blind)
#830C2B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #781c40; /* rgb */ color: rgb(120, 28, 64); /* oklch */ color: oklch(39.0% 0.129 1.7);
Tailwind
colors: {
custom: {
50: '#a46174',
500: '#781c40',
950: '#000000',
},
}SCSS
$custom: #781c40; $custom-light: #a46174; $custom-dark: #000000;
JSON
{
"hex": "#781c40",
"rgb": {
"r": 120,
"g": 28,
"b": 64
},
"hsl": {
"h": 336.522,
"s": 62.162,
"l": 29.02
},
"oklch": {
"l": 0.38998,
"c": 0.12901,
"h": 1.7
},
"luminance": 0.05194
}Semantic roles & 50–950 ramp
primary
#781C40
secondary
#44AC83
accent
#E5A643
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B