#781B63#781B63
#781B63 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.149 H 338.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #781B63 |
|---|---|
| RGB | rgb(120, 27, 99) |
| HSL | hsl(314, 63%, 29%) |
| HSV | hsv(314, 78%, 47%) |
| CMYK | cmyk(0%, 77.5%, 17.5%, 52.9%) |
| CIE-LAB | lab(28.59, 46.89, -19.94) |
| CIE-LCH | lch(28.59, 50.95, 336.96°) |
| OKLab | oklab(40.42% 0.1392 -0.054) |
| OKLCH | oklch(40.42% 0.149 338.8) |
| XYZ | xyz(10.3900, 5.6788, 12.3509) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.26
Velvet
#750851
ΔE00 4.15
Darkish Purple
#751973
ΔE00 4.30
Grape Purple
#5D1451
ΔE00 5.67
Grape
#6C3461
ΔE00 5.77
Purple
#800080
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781B63 #1B7830
analogous
#5F1B78 #781B63 #781B35
triadic
#781B63 #63781B #1B6378
tetradic
#781B63 #785F1B #1B7830 #1B3578
square
#781B63 #785F1B #1B7830 #1B3578
split-complementary
#781B63 #35781B #1B785F
monochromatic
#190615 #46103A #781B63 #AA268C #D33BB0
Accessibility & contrast
On white
9.83
#781B63 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#781B63 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781B63
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781B63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781B63 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203A65
Deuteranopia (green-blind)
#3F4961
Tritanopia (blue-blind)
#7F1F3D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781b63; /* rgb */ color: rgb(120, 27, 99); /* oklch */ color: oklch(40.4% 0.149 338.8);
Tailwind
colors: {
custom: {
50: '#a2628f',
500: '#781b63',
950: '#000000',
},
}SCSS
$custom: #781b63; $custom-light: #a2628f; $custom-dark: #000000;
JSON
{
"hex": "#781b63",
"rgb": {
"r": 120,
"g": 27,
"b": 99
},
"hsl": {
"h": 313.548,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.40416,
"c": 0.14931,
"h": 338.8
},
"luminance": 0.05678
}Semantic roles & 50–950 ramp
primary
#781B63
secondary
#43AC5A
accent
#E66741
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D