#781F57#781F57
#781F57 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.136 H 346.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #781F57 |
|---|---|
| RGB | rgb(120, 31, 87) |
| HSL | hsl(322, 59%, 30%) |
| HSV | hsv(322, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 27.5%, 52.9%) |
| CIE-LAB | lab(28.54, 43.70, -12.17) |
| CIE-LCH | lch(28.54, 45.36, 344.44°) |
| OKLab | oklab(40.2% 0.1325 -0.0322) |
| OKLCH | oklch(40.2% 0.136 346.3) |
| XYZ | xyz(9.9564, 5.6622, 9.5836) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.83
Rich Purple
#720058
ΔE00 4.49
Red Purple
#820747
ΔE00 5.54
Grape
#6C3461
ΔE00 5.69
Reddish Purple
#910951
ΔE00 6.25
Dark Magenta
#960056
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F57 #1F7840
analogous
#6D1F78 #781F57 #781F2B
triadic
#781F57 #57781F #1F5778
tetradic
#781F57 #786D1F #1F7840 #1F2B78
square
#781F57 #786D1F #1F7840 #1F2B78
split-complementary
#781F57 #2B781F #1F786D
monochromatic
#180612 #471234 #781F57 #A92C7A #CE439B
Accessibility & contrast
On white
9.85
#781F57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#781F57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F57
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F57 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3A59
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#811D38
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781f57; /* rgb */ color: rgb(120, 31, 87); /* oklch */ color: oklch(40.2% 0.136 346.3);
Tailwind
colors: {
custom: {
50: '#a26386',
500: '#781f57',
950: '#000000',
},
}SCSS
$custom: #781f57; $custom-light: #a26386; $custom-dark: #000000;
JSON
{
"hex": "#781f57",
"rgb": {
"r": 120,
"g": 31,
"b": 87
},
"hsl": {
"h": 322.247,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.40203,
"c": 0.13638,
"h": 346.3
},
"luminance": 0.05661
}Semantic roles & 50–950 ramp
primary
#781F57
secondary
#47AB6C
accent
#E28046
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C