#781E54#781E54
#781E54 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.136 H 348.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #781E54 |
|---|---|
| RGB | rgb(120, 30, 84) |
| HSL | hsl(324, 60%, 29%) |
| HSV | hsv(324, 75%, 47%) |
| CMYK | cmyk(0%, 75%, 30%, 52.9%) |
| CIE-LAB | lab(28.28, 43.68, -10.59) |
| CIE-LCH | lch(28.28, 44.94, 346.37°) |
| OKLab | oklab(39.97% 0.133 -0.0278) |
| OKLCH | oklch(39.97% 0.136 348.2) |
| XYZ | xyz(9.8107, 5.5628, 8.9429) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.80
Red Purple
#820747
ΔE00 4.83
Rich Purple
#720058
ΔE00 4.88
Reddish Purple
#910951
ΔE00 5.78
Dark Magenta
#960056
ΔE00 6.13
Grape
#6C3461
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781E54 #1E7842
analogous
#6F1E78 #781E54 #781E27
triadic
#781E54 #54781E #1E5478
tetradic
#781E54 #786F1E #1E7842 #1E2778
square
#781E54 #786F1E #1E7842 #1E2778
split-complementary
#781E54 #27781E #1E786F
monochromatic
#180611 #471232 #781E54 #A92A76 #CF4196
Accessibility & contrast
On white
9.94
#781E54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#781E54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781E54
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781E54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781E54 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3955
Deuteranopia (green-blind)
#454852
Tritanopia (blue-blind)
#811A36
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781e54; /* rgb */ color: rgb(120, 30, 84); /* oklch */ color: oklch(40.0% 0.136 348.2);
Tailwind
colors: {
custom: {
50: '#a36384',
500: '#781e54',
950: '#000000',
},
}SCSS
$custom: #781e54; $custom-light: #a36384; $custom-dark: #000000;
JSON
{
"hex": "#781e54",
"rgb": {
"r": 120,
"g": 30,
"b": 84
},
"hsl": {
"h": 324,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.3997,
"c": 0.13584,
"h": 348.2
},
"luminance": 0.05562
}Semantic roles & 50–950 ramp
primary
#781E54
secondary
#46AC6F
accent
#E38445
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060A
muted
#7F7A7C