#781E57#781E57
#781E57 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.138 H 346.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #781E57 |
|---|---|
| RGB | rgb(120, 30, 87) |
| HSL | hsl(322, 60%, 29%) |
| HSV | hsv(322, 75%, 47%) |
| CMYK | cmyk(0%, 75%, 27.5%, 52.9%) |
| CIE-LAB | lab(28.41, 44.08, -12.37) |
| CIE-LCH | lch(28.41, 45.78, 344.32°) |
| OKLab | oklab(40.1% 0.1337 -0.0328) |
| OKLCH | oklch(40.1% 0.138 346.2) |
| XYZ | xyz(9.9307, 5.6108, 9.5750) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.67
Rich Purple
#720058
ΔE00 4.32
Red Purple
#820747
ΔE00 5.55
Grape
#6C3461
ΔE00 5.78
Reddish Purple
#910951
ΔE00 6.28
Grape Purple
#5D1451
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781E57 #1E783F
analogous
#6C1E78 #781E57 #781E2A
triadic
#781E57 #57781E #1E5778
tetradic
#781E57 #786C1E #1E783F #1E2A78
square
#781E57 #786C1E #1E783F #1E2A78
split-complementary
#781E57 #2A781E #1E786C
monochromatic
#180612 #471234 #781E57 #A92A7A #CF419B
Accessibility & contrast
On white
9.90
#781E57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#781E57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781E57
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781E57 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3959
Deuteranopia (green-blind)
#444955
Tritanopia (blue-blind)
#811C37
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781e57; /* rgb */ color: rgb(120, 30, 87); /* oklch */ color: oklch(40.1% 0.138 346.2);
Tailwind
colors: {
custom: {
50: '#a26386',
500: '#781e57',
950: '#000000',
},
}SCSS
$custom: #781e57; $custom-light: #a26386; $custom-dark: #000000;
JSON
{
"hex": "#781e57",
"rgb": {
"r": 120,
"g": 30,
"b": 87
},
"hsl": {
"h": 322,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.40104,
"c": 0.13766,
"h": 346.2
},
"luminance": 0.0561
}Semantic roles & 50–950 ramp
primary
#781E57
secondary
#46AC6B
accent
#E37F45
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C