#781E52#781E52
#781E52 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.135 H 349.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #781E52 |
|---|---|
| RGB | rgb(120, 30, 82) |
| HSL | hsl(325, 60%, 29%) |
| HSV | hsv(325, 75%, 47%) |
| CMYK | cmyk(0%, 75%, 31.7%, 52.9%) |
| CIE-LAB | lab(28.20, 43.41, -9.39) |
| CIE-LCH | lch(28.20, 44.42, 347.79°) |
| OKLab | oklab(39.88% 0.1324 -0.0246) |
| OKLCH | oklch(39.88% 0.135 349.5) |
| XYZ | xyz(9.7335, 5.5319, 8.5362) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.03
Red Purple
#820747
ΔE00 4.38
Rich Purple
#720058
ΔE00 5.31
Reddish Purple
#910951
ΔE00 5.50
Dark Magenta
#960056
ΔE00 5.96
Wine (survey)
#80013F
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781E52 #1E7844
analogous
#711E78 #781E52 #781E25
triadic
#781E52 #52781E #1E5278
tetradic
#781E52 #78711E #1E7844 #1E2578
square
#781E52 #78711E #1E7844 #1E2578
split-complementary
#781E52 #25781E #1E7871
monochromatic
#180611 #471231 #781E52 #A92A73 #CF4193
Accessibility & contrast
On white
9.97
#781E52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#781E52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781E52
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781E52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781E52 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3853
Deuteranopia (green-blind)
#464850
Tritanopia (blue-blind)
#811935
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781e52; /* rgb */ color: rgb(120, 30, 82); /* oklch */ color: oklch(39.9% 0.135 349.5);
Tailwind
colors: {
custom: {
50: '#a36382',
500: '#781e52',
950: '#000000',
},
}SCSS
$custom: #781e52; $custom-light: #a36382; $custom-dark: #000000;
JSON
{
"hex": "#781e52",
"rgb": {
"r": 120,
"g": 30,
"b": 82
},
"hsl": {
"h": 325.333,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.39883,
"c": 0.13469,
"h": 349.5
},
"luminance": 0.05531
}Semantic roles & 50–950 ramp
primary
#781E52
secondary
#46AC71
accent
#E38845
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C