#781A5C#781A5C
#781A5C is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.146 H 342.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #781A5C |
|---|---|
| RGB | rgb(120, 26, 92) |
| HSL | hsl(318, 64%, 29%) |
| HSV | hsv(318, 78%, 47%) |
| CMYK | cmyk(0%, 78.3%, 23.3%, 52.9%) |
| CIE-LAB | lab(28.13, 46.20, -16.08) |
| CIE-LCH | lch(28.13, 48.92, 340.81°) |
| OKLab | oklab(39.97% 0.1391 -0.0431) |
| OKLCH | oklch(39.97% 0.146 342.8) |
| XYZ | xyz(10.0473, 5.5056, 10.6567) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.71
Rich Purple
#720058
ΔE00 3.09
Grape Purple
#5D1451
ΔE00 5.71
Grape
#6C3461
ΔE00 5.84
Darkish Purple
#751973
ΔE00 6.03
Red Purple
#820747
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781A5C #1A7836
analogous
#651A78 #781A5C #781A2D
triadic
#781A5C #5C781A #1A5C78
tetradic
#781A5C #78651A #1A7836 #1A2D78
square
#781A5C #78651A #1A7836 #1A2D78
split-complementary
#781A5C #2D781A #1A7865
monochromatic
#190513 #460F35 #781A5C #AA2583 #D438A6
Accessibility & contrast
On white
10.00
#781A5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#781A5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781A5C
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781A5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781A5C | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24395E
Deuteranopia (green-blind)
#41485A
Tritanopia (blue-blind)
#801B39
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #781a5c; /* rgb */ color: rgb(120, 26, 92); /* oklch */ color: oklch(40.0% 0.146 342.8);
Tailwind
colors: {
custom: {
50: '#a2618a',
500: '#781a5c',
950: '#000000',
},
}SCSS
$custom: #781a5c; $custom-light: #a2618a; $custom-dark: #000000;
JSON
{
"hex": "#781a5c",
"rgb": {
"r": 120,
"g": 26,
"b": 92
},
"hsl": {
"h": 317.872,
"s": 64.384,
"l": 28.627
},
"oklch": {
"l": 0.39974,
"c": 0.14566,
"h": 342.8
},
"luminance": 0.05505
}Semantic roles & 50–950 ramp
primary
#781A5C
secondary
#41AC61
accent
#E77240
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050B
muted
#7F7A7C