#781B60#781B60
#781B60 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.147 H 340.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #781B60 |
|---|---|
| RGB | rgb(120, 27, 96) |
| HSL | hsl(315, 63%, 29%) |
| HSV | hsv(315, 78%, 47%) |
| CMYK | cmyk(0%, 77.5%, 20%, 52.9%) |
| CIE-LAB | lab(28.44, 46.44, -18.22) |
| CIE-LCH | lch(28.44, 49.88, 338.58°) |
| OKLab | oklab(40.26% 0.1388 -0.0491) |
| OKLCH | oklch(40.26% 0.147 340.5) |
| XYZ | xyz(10.2493, 5.6225, 11.6095) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.12
Velvet
#750851
ΔE00 3.52
Darkish Purple
#751973
ΔE00 5.06
Grape Purple
#5D1451
ΔE00 5.64
Grape
#6C3461
ΔE00 5.68
Purple
#800080
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781B60 #1B7833
analogous
#621B78 #781B60 #781B32
triadic
#781B60 #60781B #1B6078
tetradic
#781B60 #78621B #1B7833 #1B3278
square
#781B60 #78621B #1B7833 #1B3278
split-complementary
#781B60 #32781B #1B7862
monochromatic
#190614 #461038 #781B60 #AA2688 #D33BAC
Accessibility & contrast
On white
9.89
#781B60 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#781B60 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781B60
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781B60 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781B60 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223A62
Deuteranopia (green-blind)
#40485E
Tritanopia (blue-blind)
#801E3B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781b60; /* rgb */ color: rgb(120, 27, 96); /* oklch */ color: oklch(40.3% 0.147 340.5);
Tailwind
colors: {
custom: {
50: '#a2628d',
500: '#781b60',
950: '#000000',
},
}SCSS
$custom: #781b60; $custom-light: #a2628d; $custom-dark: #000000;
JSON
{
"hex": "#781b60",
"rgb": {
"r": 120,
"g": 27,
"b": 96
},
"hsl": {
"h": 315.484,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.40261,
"c": 0.14721,
"h": 340.5
},
"luminance": 0.05621
}Semantic roles & 50–950 ramp
primary
#781B60
secondary
#43AC5E
accent
#E66C41
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D