#781F4C#781F4C
#781F4C is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 353.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #781F4C |
|---|---|
| RGB | rgb(120, 31, 76) |
| HSL | hsl(330, 59%, 30%) |
| HSV | hsv(330, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 36.7%, 52.9%) |
| CIE-LAB | lab(28.10, 42.27, -5.56) |
| CIE-LCH | lch(28.10, 42.64, 352.51°) |
| OKLab | oklab(39.74% 0.1295 -0.0142) |
| OKLCH | oklch(39.74% 0.13 353.8) |
| XYZ | xyz(9.5408, 5.4960, 7.3945) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.29
Velvet
#750851
ΔE00 4.40
Wine (survey)
#80013F
ΔE00 4.64
Merlot
#730039
ΔE00 4.93
Reddish Purple
#910951
ΔE00 4.95
Mulberry
#920A4E
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F4C #1F784B
analogous
#781F78 #781F4C #781F20
triadic
#781F4C #4C781F #1F4C78
tetradic
#781F4C #78781F #1F784B #1F2078
square
#781F4C #78781F #1F784B #1F2078
split-complementary
#781F4C #20781F #1F7878
monochromatic
#18060F #47122D #781F4C #A92C6B #CE4389
Accessibility & contrast
On white
10.00
#781F4C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#781F4C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F4C
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F4C | 1.00 | 10.00 | 2.10 | 10.00 |
| #FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F384D
Deuteranopia (green-blind)
#48484A
Tritanopia (blue-blind)
#821732
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #781f4c; /* rgb */ color: rgb(120, 31, 76); /* oklch */ color: oklch(39.7% 0.130 353.8);
Tailwind
colors: {
custom: {
50: '#a3637e',
500: '#781f4c',
950: '#000000',
},
}SCSS
$custom: #781f4c; $custom-light: #a3637e; $custom-dark: #000000;
JSON
{
"hex": "#781f4c",
"rgb": {
"r": 120,
"g": 31,
"b": 76
},
"hsl": {
"h": 329.663,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.39736,
"c": 0.13025,
"h": 353.8
},
"luminance": 0.05495
}Semantic roles & 50–950 ramp
primary
#781F4C
secondary
#47AB79
accent
#E29346
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B