#781562#781562
#781562 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.9% C 0.155 H 339.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #781562 |
|---|---|
| RGB | rgb(120, 21, 98) |
| HSL | hsl(313, 70%, 28%) |
| HSV | hsv(313, 83%, 47%) |
| CMYK | cmyk(0%, 82.5%, 18.3%, 52.9%) |
| CIE-LAB | lab(27.88, 48.62, -20.39) |
| CIE-LCH | lch(27.88, 52.72, 337.24°) |
| OKLab | oklab(39.89% 0.1448 -0.0553) |
| OKLCH | oklch(39.89% 0.155 339.1) |
| XYZ | xyz(10.2188, 5.4123, 12.0594) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 2.62
Velvet
#750851
ΔE00 3.85
Darkish Purple
#751973
ΔE00 4.26
Grape Purple
#5D1451
ΔE00 5.48
Purple
#800080
ΔE00 6.35
Grape
#6C3461
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781562 #15782B
analogous
#5C1578 #781562 #781531
triadic
#781562 #627815 #156278
tetradic
#781562 #785C15 #15782B #153178
square
#781562 #785C15 #15782B #153178
split-complementary
#781562 #317815 #15785C
monochromatic
#1A0515 #440C37 #781562 #AC1E8D #DA2DB4
Accessibility & contrast
On white
10.09
#781562 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#781562 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781562
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781562 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781562 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3864
Deuteranopia (green-blind)
#3E4760
Tritanopia (blue-blind)
#7F1A3B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #781562; /* rgb */ color: rgb(120, 21, 98); /* oklch */ color: oklch(39.9% 0.155 339.1);
Tailwind
colors: {
custom: {
50: '#a3608f',
500: '#781562',
950: '#000000',
},
}SCSS
$custom: #781562; $custom-light: #a3608f; $custom-dark: #000000;
JSON
{
"hex": "#781562",
"rgb": {
"r": 120,
"g": 21,
"b": 98
},
"hsl": {
"h": 313.333,
"s": 70.213,
"l": 27.647
},
"oklch": {
"l": 0.39889,
"c": 0.15496,
"h": 339.1
},
"luminance": 0.05411
}Semantic roles & 50–950 ramp
primary
#781562
secondary
#3BAE55
accent
#ED623B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D