#781F62#781F62
#781F62 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.144 H 339.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #781F62 |
|---|---|
| RGB | rgb(120, 31, 98) |
| HSL | hsl(315, 59%, 30%) |
| HSV | hsv(315, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 18.3%, 52.9%) |
| CIE-LAB | lab(29.05, 45.30, -18.58) |
| CIE-LCH | lch(29.05, 48.96, 337.70°) |
| OKLab | oklab(40.73% 0.1347 -0.0502) |
| OKLCH | oklch(40.73% 0.144 339.6) |
| XYZ | xyz(10.4406, 5.8559, 12.1333) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.71
Velvet
#750851
ΔE00 4.11
Darkish Purple
#751973
ΔE00 4.86
Grape
#6C3461
ΔE00 5.19
Grape Purple
#5D1451
ΔE00 5.86
Purple
#800080
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F62 #1F7835
analogous
#611F78 #781F62 #781F36
triadic
#781F62 #62781F #1F6278
tetradic
#781F62 #78611F #1F7835 #1F3678
square
#781F62 #78611F #1F7835 #1F3678
split-complementary
#781F62 #36781F #1F7861
monochromatic
#180614 #47123A #781F62 #A92C8A #CE43AC
Accessibility & contrast
On white
9.67
#781F62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#781F62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F62
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F62 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#243B64
Deuteranopia (green-blind)
#414A60
Tritanopia (blue-blind)
#7F223E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #781f62; /* rgb */ color: rgb(120, 31, 98); /* oklch */ color: oklch(40.7% 0.144 339.6);
Tailwind
colors: {
custom: {
50: '#a2648f',
500: '#781f62',
950: '#000000',
},
}SCSS
$custom: #781f62; $custom-light: #a2648f; $custom-dark: #000000;
JSON
{
"hex": "#781f62",
"rgb": {
"r": 120,
"g": 31,
"b": 98
},
"hsl": {
"h": 314.831,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.40732,
"c": 0.14377,
"h": 339.6
},
"luminance": 0.05855
}Semantic roles & 50–950 ramp
primary
#781F62
secondary
#47AB60
accent
#E26C46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D