#781A5A#781A5A
#781A5A is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.144 H 344.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #781A5A |
|---|---|
| RGB | rgb(120, 26, 90) |
| HSL | hsl(319, 64%, 29%) |
| HSV | hsv(319, 78%, 47%) |
| CMYK | cmyk(0%, 78.3%, 25%, 52.9%) |
| CIE-LAB | lab(28.04, 45.92, -14.91) |
| CIE-LCH | lch(28.04, 48.28, 342.01°) |
| OKLab | oklab(39.88% 0.1388 -0.0398) |
| OKLCH | oklch(39.88% 0.144 344) |
| XYZ | xyz(9.9610, 5.4711, 10.2023) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.40
Rich Purple
#720058
ΔE00 3.28
Grape Purple
#5D1451
ΔE00 5.85
Grape
#6C3461
ΔE00 5.93
Red Purple
#820747
ΔE00 6.36
Darkish Purple
#751973
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781A5A #1A7838
analogous
#671A78 #781A5A #781A2B
triadic
#781A5A #5A781A #1A5A78
tetradic
#781A5A #78671A #1A7838 #1A2B78
square
#781A5A #78671A #1A7838 #1A2B78
split-complementary
#781A5A #2B781A #1A7867
monochromatic
#190513 #460F34 #781A5A #AA2580 #D438A2
Accessibility & contrast
On white
10.03
#781A5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#781A5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781A5A
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781A5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781A5A | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#424858
Tritanopia (blue-blind)
#801938
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #781a5a; /* rgb */ color: rgb(120, 26, 90); /* oklch */ color: oklch(39.9% 0.144 344.0);
Tailwind
colors: {
custom: {
50: '#a36188',
500: '#781a5a',
950: '#000000',
},
}SCSS
$custom: #781a5a; $custom-light: #a36188; $custom-dark: #000000;
JSON
{
"hex": "#781a5a",
"rgb": {
"r": 120,
"g": 26,
"b": 90
},
"hsl": {
"h": 319.149,
"s": 64.384,
"l": 28.627
},
"oklch": {
"l": 0.39877,
"c": 0.14436,
"h": 344
},
"luminance": 0.0547
}Semantic roles & 50–950 ramp
primary
#781A5A
secondary
#41AC64
accent
#E77640
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050B
muted
#7F7A7C