#781E5A#781E5A
#781E5A is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.140 H 344.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #781E5A |
|---|---|
| RGB | rgb(120, 30, 90) |
| HSL | hsl(320, 60%, 29%) |
| HSV | hsv(320, 75%, 47%) |
| CMYK | cmyk(0%, 75%, 25%, 52.9%) |
| CIE-LAB | lab(28.54, 44.50, -14.14) |
| CIE-LCH | lch(28.54, 46.69, 342.37°) |
| OKLab | oklab(40.24% 0.1344 -0.0377) |
| OKLCH | oklch(40.24% 0.14 344.3) |
| XYZ | xyz(10.0559, 5.6609, 10.2340) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.82
Rich Purple
#720058
ΔE00 3.89
Grape
#6C3461
ΔE00 5.50
Grape Purple
#5D1451
ΔE00 6.12
Red Purple
#820747
ΔE00 6.27
Reddish Purple
#910951
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781E5A #1E783C
analogous
#691E78 #781E5A #781E2D
triadic
#781E5A #5A781E #1E5A78
tetradic
#781E5A #78691E #1E783C #1E2D78
square
#781E5A #78691E #1E783C #1E2D78
split-complementary
#781E5A #2D781E #1E7869
monochromatic
#180612 #471235 #781E5A #A92A7F #CF41A0
Accessibility & contrast
On white
9.85
#781E5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#781E5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781E5A
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781E5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781E5A | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283A5C
Deuteranopia (green-blind)
#434958
Tritanopia (blue-blind)
#801D39
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781e5a; /* rgb */ color: rgb(120, 30, 90); /* oklch */ color: oklch(40.2% 0.140 344.3);
Tailwind
colors: {
custom: {
50: '#a26388',
500: '#781e5a',
950: '#000000',
},
}SCSS
$custom: #781e5a; $custom-light: #a26388; $custom-dark: #000000;
JSON
{
"hex": "#781e5a",
"rgb": {
"r": 120,
"g": 30,
"b": 90
},
"hsl": {
"h": 320,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.40243,
"c": 0.13956,
"h": 344.3
},
"luminance": 0.0566
}Semantic roles & 50–950 ramp
primary
#781E5A
secondary
#46AC68
accent
#E37945
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C