#781868#781868
#781868 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.156 H 336.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #781868 |
|---|---|
| RGB | rgb(120, 24, 104) |
| HSL | hsl(310, 67%, 28%) |
| HSV | hsv(310, 80%, 47%) |
| CMYK | cmyk(0%, 80%, 13.3%, 52.9%) |
| CIE-LAB | lab(28.50, 48.63, -23.31) |
| CIE-LCH | lch(28.50, 53.93, 334.39°) |
| OKLab | oklab(40.44% 0.1427 -0.0636) |
| OKLCH | oklch(40.44% 0.156 336) |
| XYZ | xyz(10.5712, 5.6468, 13.6272) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 2.92
Rich Purple
#720058
ΔE00 3.64
Purple
#800080
ΔE00 5.16
Velvet
#750851
ΔE00 5.22
Grape Purple
#5D1451
ΔE00 5.90
Grape
#6C3461
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781868 #187828
analogous
#581878 #781868 #781838
triadic
#781868 #687818 #186878
tetradic
#781868 #785818 #187828 #183878
square
#781868 #785818 #187828 #183878
split-complementary
#781868 #387818 #187858
monochromatic
#1A0516 #450E3C #781868 #AB2294 #D634BB
Accessibility & contrast
On white
9.86
#781868 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#781868 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781868
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781868 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781868 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193A6A
Deuteranopia (green-blind)
#3C4866
Tritanopia (blue-blind)
#7E203F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781868; /* rgb */ color: rgb(120, 24, 104); /* oklch */ color: oklch(40.4% 0.156 336.0);
Tailwind
colors: {
custom: {
50: '#a26193',
500: '#781868',
950: '#000000',
},
}SCSS
$custom: #781868; $custom-light: #a26193; $custom-dark: #000000;
JSON
{
"hex": "#781868",
"rgb": {
"r": 120,
"g": 24,
"b": 104
},
"hsl": {
"h": 310,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.4044,
"c": 0.15623,
"h": 336
},
"luminance": 0.05646
}Semantic roles & 50–950 ramp
primary
#781868
secondary
#3FAD51
accent
#EA5B3E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E