#781F66#781F66
#781F66 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.147 H 337.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #781F66 |
|---|---|
| RGB | rgb(120, 31, 102) |
| HSL | hsl(312, 59%, 30%) |
| HSV | hsv(312, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 15%, 52.9%) |
| CIE-LAB | lab(29.24, 45.92, -20.86) |
| CIE-LCH | lch(29.24, 50.43, 335.57°) |
| OKLab | oklab(40.94% 0.1353 -0.0567) |
| OKLCH | oklch(40.94% 0.147 337.3) |
| XYZ | xyz(10.6342, 5.9333, 13.1530) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.87
Rich Purple
#720058
ΔE00 3.97
Velvet
#750851
ΔE00 4.91
Grape
#6C3461
ΔE00 5.40
Grape Purple
#5D1451
ΔE00 5.98
Purple
#800080
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F66 #1F7831
analogous
#5E1F78 #781F66 #781F3A
triadic
#781F66 #66781F #1F6678
tetradic
#781F66 #785E1F #1F7831 #1F3A78
square
#781F66 #785E1F #1F7831 #1F3A78
split-complementary
#781F66 #3A781F #1F785E
monochromatic
#180615 #47123D #781F66 #A92C8F #CE43B2
Accessibility & contrast
On white
9.60
#781F66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#781F66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F66
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F66 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223C68
Deuteranopia (green-blind)
#404A64
Tritanopia (blue-blind)
#7F2440
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #781f66; /* rgb */ color: rgb(120, 31, 102); /* oklch */ color: oklch(40.9% 0.147 337.3);
Tailwind
colors: {
custom: {
50: '#a26492',
500: '#781f66',
950: '#000000',
},
}SCSS
$custom: #781f66; $custom-light: #a26492; $custom-dark: #000000;
JSON
{
"hex": "#781f66",
"rgb": {
"r": 120,
"g": 31,
"b": 102
},
"hsl": {
"h": 312.135,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.4094,
"c": 0.14669,
"h": 337.3
},
"luminance": 0.05932
}Semantic roles & 50–950 ramp
primary
#781F66
secondary
#47AB5C
accent
#E26546
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060D
muted
#7F7A7D