#781F54#781F54
#781F54 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.135 H 348.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #781F54 |
|---|---|
| RGB | rgb(120, 31, 84) |
| HSL | hsl(324, 59%, 30%) |
| HSV | hsv(324, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 30%, 52.9%) |
| CIE-LAB | lab(28.42, 43.29, -10.38) |
| CIE-LCH | lch(28.42, 44.52, 346.51°) |
| OKLab | oklab(40.07% 0.1318 -0.0273) |
| OKLCH | oklch(40.07% 0.135 348.3) |
| XYZ | xyz(9.8364, 5.6142, 8.9514) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.97
Red Purple
#820747
ΔE00 4.84
Rich Purple
#720058
ΔE00 5.05
Reddish Purple
#910951
ΔE00 5.77
Grape
#6C3461
ΔE00 6.10
Dark Magenta
#960056
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F54 #1F7843
analogous
#701F78 #781F54 #781F27
triadic
#781F54 #54781F #1F5478
tetradic
#781F54 #78701F #1F7843 #1F2778
square
#781F54 #78701F #1F7843 #1F2778
split-complementary
#781F54 #27781F #1F7870
monochromatic
#180611 #471232 #781F54 #A92C76 #CE4396
Accessibility & contrast
On white
9.89
#781F54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#781F54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F54
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F54 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3955
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#811B36
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781f54; /* rgb */ color: rgb(120, 31, 84); /* oklch */ color: oklch(40.1% 0.135 348.3);
Tailwind
colors: {
custom: {
50: '#a26384',
500: '#781f54',
950: '#000000',
},
}SCSS
$custom: #781f54; $custom-light: #a26384; $custom-dark: #000000;
JSON
{
"hex": "#781f54",
"rgb": {
"r": 120,
"g": 31,
"b": 84
},
"hsl": {
"h": 324.27,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.40069,
"c": 0.13456,
"h": 348.3
},
"luminance": 0.05613
}Semantic roles & 50–950 ramp
primary
#781F54
secondary
#47AB70
accent
#E28546
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060A
muted
#7F7A7C