#781F68#781F68
#781F68 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.148 H 336.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #781F68 |
|---|---|
| RGB | rgb(120, 31, 104) |
| HSL | hsl(311, 59%, 30%) |
| HSV | hsv(311, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 13.3%, 52.9%) |
| CIE-LAB | lab(29.35, 46.23, -21.99) |
| CIE-LCH | lch(29.35, 51.20, 334.56°) |
| OKLab | oklab(41.05% 0.1355 -0.0599) |
| OKLCH | oklch(41.05% 0.148 336.2) |
| XYZ | xyz(10.7346, 5.9735, 13.6817) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.39
Rich Purple
#720058
ΔE00 4.19
Velvet
#750851
ΔE00 5.33
Grape
#6C3461
ΔE00 5.57
Purple
#800080
ΔE00 5.77
Grape Purple
#5D1451
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F68 #1F782F
analogous
#5C1F78 #781F68 #781F3B
triadic
#781F68 #68781F #1F6878
tetradic
#781F68 #785C1F #1F782F #1F3B78
square
#781F68 #785C1F #1F782F #1F3B78
split-complementary
#781F68 #3B781F #1F785C
monochromatic
#180615 #47123E #781F68 #A92C92 #CE43B5
Accessibility & contrast
On white
9.57
#781F68 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#781F68 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F68
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F68 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F68 | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203D6A
Deuteranopia (green-blind)
#3F4A66
Tritanopia (blue-blind)
#7E2541
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #781f68; /* rgb */ color: rgb(120, 31, 104); /* oklch */ color: oklch(41.0% 0.148 336.2);
Tailwind
colors: {
custom: {
50: '#a26493',
500: '#781f68',
950: '#000000',
},
}SCSS
$custom: #781f68; $custom-light: #a26493; $custom-dark: #000000;
JSON
{
"hex": "#781f68",
"rgb": {
"r": 120,
"g": 31,
"b": 104
},
"hsl": {
"h": 310.787,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.41047,
"c": 0.14819,
"h": 336.2
},
"luminance": 0.05973
}Semantic roles & 50–950 ramp
primary
#781F68
secondary
#47AB59
accent
#E26246
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E