#781E55#781E55
#781E55 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.136 H 347.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #781E55 |
|---|---|
| RGB | rgb(120, 30, 85) |
| HSL | hsl(323, 60%, 29%) |
| HSV | hsv(323, 75%, 47%) |
| CMYK | cmyk(0%, 75%, 29.2%, 52.9%) |
| CIE-LAB | lab(28.32, 43.81, -11.18) |
| CIE-LCH | lch(28.32, 45.21, 345.68°) |
| OKLab | oklab(40.01% 0.1332 -0.0295) |
| OKLCH | oklch(40.01% 0.136 347.5) |
| XYZ | xyz(9.8502, 5.5786, 9.1506) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.73
Rich Purple
#720058
ΔE00 4.68
Red Purple
#820747
ΔE00 5.07
Reddish Purple
#910951
ΔE00 5.94
Grape
#6C3461
ΔE00 6.03
Dark Magenta
#960056
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781E55 #1E7841
analogous
#6E1E78 #781E55 #781E28
triadic
#781E55 #55781E #1E5578
tetradic
#781E55 #786E1E #1E7841 #1E2878
square
#781E55 #786E1E #1E7841 #1E2878
split-complementary
#781E55 #28781E #1E786E
monochromatic
#180611 #471232 #781E55 #A92A78 #CF4198
Accessibility & contrast
On white
9.93
#781E55 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#781E55 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781E55
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781E55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781E55 | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3957
Deuteranopia (green-blind)
#454853
Tritanopia (blue-blind)
#811B36
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781e55; /* rgb */ color: rgb(120, 30, 85); /* oklch */ color: oklch(40.0% 0.136 347.5);
Tailwind
colors: {
custom: {
50: '#a26385',
500: '#781e55',
950: '#000000',
},
}SCSS
$custom: #781e55; $custom-light: #a26385; $custom-dark: #000000;
JSON
{
"hex": "#781e55",
"rgb": {
"r": 120,
"g": 30,
"b": 85
},
"hsl": {
"h": 323.333,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.40014,
"c": 0.13643,
"h": 347.5
},
"luminance": 0.05577
}Semantic roles & 50–950 ramp
primary
#781E55
secondary
#46AC6E
accent
#E38245
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C