#781F52#781F52
#781F52 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.133 H 349.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #781F52 |
|---|---|
| RGB | rgb(120, 31, 82) |
| HSL | hsl(326, 59%, 30%) |
| HSV | hsv(326, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 31.7%, 52.9%) |
| CIE-LAB | lab(28.34, 43.03, -9.19) |
| CIE-LCH | lch(28.34, 44.00, 347.95°) |
| OKLab | oklab(39.98% 0.1312 -0.024) |
| OKLCH | oklch(39.98% 0.133 349.6) |
| XYZ | xyz(9.7592, 5.5833, 8.5448) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.21
Red Purple
#820747
ΔE00 4.39
Rich Purple
#720058
ΔE00 5.47
Reddish Purple
#910951
ΔE00 5.49
Dark Magenta
#960056
ΔE00 5.97
Wine (survey)
#80013F
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F52 #1F7845
analogous
#721F78 #781F52 #781F26
triadic
#781F52 #52781F #1F5278
tetradic
#781F52 #78721F #1F7845 #1F2678
square
#781F52 #78721F #1F7845 #1F2678
split-complementary
#781F52 #26781F #1F7872
monochromatic
#180611 #471231 #781F52 #A92C73 #CE4393
Accessibility & contrast
On white
9.92
#781F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#781F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F52
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F52 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#464950
Tritanopia (blue-blind)
#811A35
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781f52; /* rgb */ color: rgb(120, 31, 82); /* oklch */ color: oklch(40.0% 0.133 349.6);
Tailwind
colors: {
custom: {
50: '#a36382',
500: '#781f52',
950: '#000000',
},
}SCSS
$custom: #781f52; $custom-light: #a36382; $custom-dark: #000000;
JSON
{
"hex": "#781f52",
"rgb": {
"r": 120,
"g": 31,
"b": 82
},
"hsl": {
"h": 325.618,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.39983,
"c": 0.13342,
"h": 349.6
},
"luminance": 0.05582
}Semantic roles & 50–950 ramp
primary
#781F52
secondary
#47AB72
accent
#E28846
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C