#781F58#781F58
#781F58 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.137 H 345.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #781F58 |
|---|---|
| RGB | rgb(120, 31, 88) |
| HSL | hsl(322, 59%, 30%) |
| HSV | hsv(322, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 26.7%, 52.9%) |
| CIE-LAB | lab(28.59, 43.84, -12.76) |
| CIE-LCH | lch(28.59, 45.66, 343.78°) |
| OKLab | oklab(40.25% 0.1328 -0.0338) |
| OKLCH | oklch(40.25% 0.137 345.7) |
| XYZ | xyz(9.9976, 5.6787, 9.8002) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.84
Rich Purple
#720058
ΔE00 4.33
Grape
#6C3461
ΔE00 5.57
Red Purple
#820747
ΔE00 5.78
Grape Purple
#5D1451
ΔE00 6.42
Reddish Purple
#910951
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F58 #1F783F
analogous
#6C1F78 #781F58 #781F2C
triadic
#781F58 #58781F #1F5878
tetradic
#781F58 #786C1F #1F783F #1F2C78
square
#781F58 #786C1F #1F783F #1F2C78
split-complementary
#781F58 #2C781F #1F786C
monochromatic
#180612 #471234 #781F58 #A92C7C #CE439C
Accessibility & contrast
On white
9.83
#781F58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#781F58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F58
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F58 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3A5A
Deuteranopia (green-blind)
#444956
Tritanopia (blue-blind)
#801D38
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781f58; /* rgb */ color: rgb(120, 31, 88); /* oklch */ color: oklch(40.2% 0.137 345.7);
Tailwind
colors: {
custom: {
50: '#a26387',
500: '#781f58',
950: '#000000',
},
}SCSS
$custom: #781f58; $custom-light: #a26387; $custom-dark: #000000;
JSON
{
"hex": "#781f58",
"rgb": {
"r": 120,
"g": 31,
"b": 88
},
"hsl": {
"h": 321.573,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.40248,
"c": 0.137,
"h": 345.7
},
"luminance": 0.05678
}Semantic roles & 50–950 ramp
primary
#781F58
secondary
#47AB6B
accent
#E27E46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C