#781C58#781C58
#781C58 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.141 H 345.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #781C58 |
|---|---|
| RGB | rgb(120, 28, 88) |
| HSL | hsl(321, 62%, 29%) |
| HSV | hsv(321, 77%, 47%) |
| CMYK | cmyk(0%, 76.7%, 26.7%, 52.9%) |
| CIE-LAB | lab(28.19, 44.95, -13.36) |
| CIE-LCH | lch(28.19, 46.89, 343.45°) |
| OKLab | oklab(39.96% 0.1362 -0.0355) |
| OKLCH | oklch(39.96% 0.141 345.4) |
| XYZ | xyz(9.9229, 5.5292, 9.7753) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.42
Rich Purple
#720058
ΔE00 3.84
Red Purple
#820747
ΔE00 5.82
Grape
#6C3461
ΔE00 5.87
Grape Purple
#5D1451
ΔE00 6.17
Reddish Purple
#910951
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781C58 #1C783C
analogous
#6A1C78 #781C58 #781C2A
triadic
#781C58 #58781C #1C5878
tetradic
#781C58 #786A1C #1C783C #1C2A78
square
#781C58 #786A1C #1C783C #1C2A78
split-complementary
#781C58 #2A781C #1C786A
monochromatic
#190612 #461034 #781C58 #AA287C #D23D9E
Accessibility & contrast
On white
9.97
#781C58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#781C58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781C58
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781C58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781C58 | 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)
#28395A
Deuteranopia (green-blind)
#434856
Tritanopia (blue-blind)
#801A37
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #781c58; /* rgb */ color: rgb(120, 28, 88); /* oklch */ color: oklch(40.0% 0.141 345.4);
Tailwind
colors: {
custom: {
50: '#a26287',
500: '#781c58',
950: '#000000',
},
}SCSS
$custom: #781c58; $custom-light: #a26287; $custom-dark: #000000;
JSON
{
"hex": "#781c58",
"rgb": {
"r": 120,
"g": 28,
"b": 88
},
"hsl": {
"h": 320.87,
"s": 62.162,
"l": 29.02
},
"oklch": {
"l": 0.39961,
"c": 0.14074,
"h": 345.4
},
"luminance": 0.05528
}Semantic roles & 50–950 ramp
primary
#781C58
secondary
#44AC68
accent
#E57B43
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C