#781F55#781F55
#781F55 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.135 H 347.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #781F55 |
|---|---|
| RGB | rgb(120, 31, 85) |
| HSL | hsl(324, 59%, 30%) |
| HSV | hsv(324, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 29.2%, 52.9%) |
| CIE-LAB | lab(28.46, 43.43, -10.98) |
| CIE-LCH | lch(28.46, 44.79, 345.81°) |
| OKLab | oklab(40.11% 0.132 -0.0289) |
| OKLCH | oklch(40.11% 0.135 347.6) |
| XYZ | xyz(9.8759, 5.6300, 9.1592) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.90
Rich Purple
#720058
ΔE00 4.85
Red Purple
#820747
ΔE00 5.07
Reddish Purple
#910951
ΔE00 5.92
Grape
#6C3461
ΔE00 5.95
Dark Magenta
#960056
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F55 #1F7842
analogous
#6F1F78 #781F55 #781F28
triadic
#781F55 #55781F #1F5578
tetradic
#781F55 #786F1F #1F7842 #1F2878
square
#781F55 #786F1F #1F7842 #1F2878
split-complementary
#781F55 #28781F #1F786F
monochromatic
#180611 #471233 #781F55 #A92C77 #CE4398
Accessibility & contrast
On white
9.88
#781F55 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#781F55 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F55
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F55 | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3956
Deuteranopia (green-blind)
#454953
Tritanopia (blue-blind)
#811C37
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781f55; /* rgb */ color: rgb(120, 31, 85); /* oklch */ color: oklch(40.1% 0.135 347.6);
Tailwind
colors: {
custom: {
50: '#a26385',
500: '#781f55',
950: '#000000',
},
}SCSS
$custom: #781f55; $custom-light: #a26385; $custom-dark: #000000;
JSON
{
"hex": "#781f55",
"rgb": {
"r": 120,
"g": 31,
"b": 85
},
"hsl": {
"h": 323.596,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.40113,
"c": 0.13516,
"h": 347.6
},
"luminance": 0.05629
}Semantic roles & 50–950 ramp
primary
#781F55
secondary
#47AB6F
accent
#E28346
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C