#781F63#781F63
#781F63 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.144 H 339.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #781F63 |
|---|---|
| RGB | rgb(120, 31, 99) |
| HSL | hsl(314, 59%, 30%) |
| HSV | hsv(314, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 17.5%, 52.9%) |
| CIE-LAB | lab(29.09, 45.45, -19.15) |
| CIE-LCH | lch(29.09, 49.32, 337.15°) |
| OKLab | oklab(40.78% 0.1349 -0.0518) |
| OKLCH | oklch(40.78% 0.144 339) |
| XYZ | xyz(10.4881, 5.8749, 12.3836) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.75
Velvet
#750851
ΔE00 4.31
Darkish Purple
#751973
ΔE00 4.61
Grape
#6C3461
ΔE00 5.22
Grape Purple
#5D1451
ΔE00 5.87
Purple
#800080
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F63 #1F7834
analogous
#601F78 #781F63 #781F37
triadic
#781F63 #63781F #1F6378
tetradic
#781F63 #78601F #1F7834 #1F3778
square
#781F63 #78601F #1F7834 #1F3778
split-complementary
#781F63 #37781F #1F7860
monochromatic
#180614 #47123B #781F63 #A92C8B #CE43AE
Accessibility & contrast
On white
9.66
#781F63 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#781F63 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F63
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F63 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#243C65
Deuteranopia (green-blind)
#414A61
Tritanopia (blue-blind)
#7F233E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #781f63; /* rgb */ color: rgb(120, 31, 99); /* oklch */ color: oklch(40.8% 0.144 339.0);
Tailwind
colors: {
custom: {
50: '#a2648f',
500: '#781f63',
950: '#000000',
},
}SCSS
$custom: #781f63; $custom-light: #a2648f; $custom-dark: #000000;
JSON
{
"hex": "#781f63",
"rgb": {
"r": 120,
"g": 31,
"b": 99
},
"hsl": {
"h": 314.157,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.40784,
"c": 0.14448,
"h": 339
},
"luminance": 0.05874
}Semantic roles & 50–950 ramp
primary
#781F63
secondary
#47AB5F
accent
#E26B46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D