#781B58#781B58
#781B58 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.142 H 345.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #781B58 |
|---|---|
| RGB | rgb(120, 27, 88) |
| HSL | hsl(321, 63%, 29%) |
| HSV | hsv(321, 78%, 47%) |
| CMYK | cmyk(0%, 77.5%, 26.7%, 52.9%) |
| CIE-LAB | lab(28.07, 45.30, -13.55) |
| CIE-LCH | lch(28.07, 47.29, 343.35°) |
| OKLab | oklab(39.87% 0.1373 -0.036) |
| OKLCH | oklch(39.87% 0.142 345.3) |
| XYZ | xyz(9.8995, 5.4826, 9.7675) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.30
Rich Purple
#720058
ΔE00 3.69
Red Purple
#820747
ΔE00 5.84
Grape
#6C3461
ΔE00 5.97
Grape Purple
#5D1451
ΔE00 6.10
Reddish Purple
#910951
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781B58 #1B783B
analogous
#6A1B78 #781B58 #781B2A
triadic
#781B58 #58781B #1B5878
tetradic
#781B58 #786A1B #1B783B #1B2A78
square
#781B58 #786A1B #1B783B #1B2A78
split-complementary
#781B58 #2A781B #1B786A
monochromatic
#190612 #461033 #781B58 #AA267D #D33B9E
Accessibility & contrast
On white
10.02
#781B58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#781B58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781B58
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781B58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781B58 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#434856
Tritanopia (blue-blind)
#801937
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #781b58; /* rgb */ color: rgb(120, 27, 88); /* oklch */ color: oklch(39.9% 0.142 345.3);
Tailwind
colors: {
custom: {
50: '#a36187',
500: '#781b58',
950: '#000000',
},
}SCSS
$custom: #781b58; $custom-light: #a36187; $custom-dark: #000000;
JSON
{
"hex": "#781b58",
"rgb": {
"r": 120,
"g": 27,
"b": 88
},
"hsl": {
"h": 320.645,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.3987,
"c": 0.14193,
"h": 345.3
},
"luminance": 0.05482
}Semantic roles & 50–950 ramp
primary
#781B58
secondary
#43AC67
accent
#E67A41
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F050B
muted
#7F7A7C