#781F5C#781F5C
#781F5C is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.140 H 343.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #781F5C |
|---|---|
| RGB | rgb(120, 31, 92) |
| HSL | hsl(319, 59%, 30%) |
| HSV | hsv(319, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 23.3%, 52.9%) |
| CIE-LAB | lab(28.76, 44.41, -15.10) |
| CIE-LCH | lch(28.76, 46.90, 341.21°) |
| OKLab | oklab(40.44% 0.1336 -0.0404) |
| OKLCH | oklch(40.44% 0.14 343.2) |
| XYZ | xyz(10.1678, 5.7468, 10.6969) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.14
Rich Purple
#720058
ΔE00 3.86
Grape
#6C3461
ΔE00 5.25
Grape Purple
#5D1451
ΔE00 6.04
Darkish Purple
#751973
ΔE00 6.42
Red Purple
#820747
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F5C #1F783B
analogous
#671F78 #781F5C #781F30
triadic
#781F5C #5C781F #1F5C78
tetradic
#781F5C #78671F #1F783B #1F3078
square
#781F5C #78671F #1F783B #1F3078
split-complementary
#781F5C #30781F #1F7867
monochromatic
#180613 #471237 #781F5C #A92C81 #CE43A3
Accessibility & contrast
On white
9.77
#781F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#781F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F5C
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F5C | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283A5E
Deuteranopia (green-blind)
#43495A
Tritanopia (blue-blind)
#801F3A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #781f5c; /* rgb */ color: rgb(120, 31, 92); /* oklch */ color: oklch(40.4% 0.140 343.2);
Tailwind
colors: {
custom: {
50: '#a2638a',
500: '#781f5c',
950: '#000000',
},
}SCSS
$custom: #781f5c; $custom-light: #a2638a; $custom-dark: #000000;
JSON
{
"hex": "#781f5c",
"rgb": {
"r": 120,
"g": 31,
"b": 92
},
"hsl": {
"h": 318.876,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.40436,
"c": 0.1396,
"h": 343.2
},
"luminance": 0.05746
}Semantic roles & 50–950 ramp
primary
#781F5C
secondary
#47AB67
accent
#E27746
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C