#781F56#781F56
#781F56 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.136 H 347.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #781F56 |
|---|---|
| RGB | rgb(120, 31, 86) |
| HSL | hsl(323, 59%, 30%) |
| HSV | hsv(323, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 28.3%, 52.9%) |
| CIE-LAB | lab(28.50, 43.56, -11.57) |
| CIE-LCH | lch(28.50, 45.07, 345.12°) |
| OKLab | oklab(40.16% 0.1323 -0.0306) |
| OKLCH | oklch(40.16% 0.136 347) |
| XYZ | xyz(9.9159, 5.6460, 9.3699) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.85
Rich Purple
#720058
ΔE00 4.67
Red Purple
#820747
ΔE00 5.30
Grape
#6C3461
ΔE00 5.81
Reddish Purple
#910951
ΔE00 6.09
Dark Magenta
#960056
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F56 #1F7841
analogous
#6D1F78 #781F56 #781F2A
triadic
#781F56 #56781F #1F5678
tetradic
#781F56 #786D1F #1F7841 #1F2A78
square
#781F56 #786D1F #1F7841 #1F2A78
split-complementary
#781F56 #2A781F #1F786D
monochromatic
#180611 #471233 #781F56 #A92C79 #CE4399
Accessibility & contrast
On white
9.86
#781F56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#781F56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F56
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F56 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3958
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#811C37
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781f56; /* rgb */ color: rgb(120, 31, 86); /* oklch */ color: oklch(40.2% 0.136 347.0);
Tailwind
colors: {
custom: {
50: '#a26385',
500: '#781f56',
950: '#000000',
},
}SCSS
$custom: #781f56; $custom-light: #a26385; $custom-dark: #000000;
JSON
{
"hex": "#781f56",
"rgb": {
"r": 120,
"g": 31,
"b": 86
},
"hsl": {
"h": 322.921,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.40158,
"c": 0.13576,
"h": 347
},
"luminance": 0.05645
}Semantic roles & 50–950 ramp
primary
#781F56
secondary
#47AB6E
accent
#E28146
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C