#781E56#781E56
#781E56 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.137 H 346.9°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #781E56 |
|---|---|
| RGB | rgb(120, 30, 86) |
| HSL | hsl(323, 60%, 29%) |
| HSV | hsv(323, 75%, 47%) |
| CMYK | cmyk(0%, 75%, 28.3%, 52.9%) |
| CIE-LAB | lab(28.37, 43.94, -11.78) |
| CIE-LCH | lch(28.37, 45.50, 344.99°) |
| OKLab | oklab(40.06% 0.1335 -0.0311) |
| OKLCH | oklch(40.06% 0.137 346.9) |
| XYZ | xyz(9.8902, 5.5946, 9.3613) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.68
Rich Purple
#720058
ΔE00 4.50
Red Purple
#820747
ΔE00 5.31
Grape
#6C3461
ΔE00 5.90
Reddish Purple
#910951
ΔE00 6.11
Dark Magenta
#960056
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781E56 #1E7840
analogous
#6D1E78 #781E56 #781E29
triadic
#781E56 #56781E #1E5678
tetradic
#781E56 #786D1E #1E7840 #1E2978
square
#781E56 #786D1E #1E7840 #1E2978
split-complementary
#781E56 #29781E #1E786D
monochromatic
#180612 #471233 #781E56 #A92A79 #CF419A
Accessibility & contrast
On white
9.91
#781E56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#781E56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781E56
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781E56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781E56 | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#811B37
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781e56; /* rgb */ color: rgb(120, 30, 86); /* oklch */ color: oklch(40.1% 0.137 346.9);
Tailwind
colors: {
custom: {
50: '#a26385',
500: '#781e56',
950: '#000000',
},
}SCSS
$custom: #781e56; $custom-light: #a26385; $custom-dark: #000000;
JSON
{
"hex": "#781e56",
"rgb": {
"r": 120,
"g": 30,
"b": 86
},
"hsl": {
"h": 322.667,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.40059,
"c": 0.13704,
"h": 346.9
},
"luminance": 0.05594
}Semantic roles & 50–950 ramp
primary
#781E56
secondary
#46AC6C
accent
#E38145
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C