#781F4B#781F4B
#781F4B is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 354.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #781F4B |
|---|---|
| RGB | rgb(120, 31, 75) |
| HSL | hsl(330, 59%, 30%) |
| HSV | hsv(330, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 37.5%, 52.9%) |
| CIE-LAB | lab(28.07, 42.15, -4.95) |
| CIE-LCH | lch(28.07, 42.44, 353.31°) |
| OKLab | oklab(39.7% 0.1292 -0.0125) |
| OKLCH | oklch(39.7% 0.13 354.5) |
| XYZ | xyz(9.5063, 5.4822, 7.2128) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.16
Wine (survey)
#80013F
ΔE00 4.42
Velvet
#750851
ΔE00 4.65
Merlot
#730039
ΔE00 4.73
Reddish Purple
#910951
ΔE00 4.92
Mulberry
#920A4E
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F4B #1F784C
analogous
#781F78 #781F4B #78201F
triadic
#781F4B #4B781F #1F4B78
tetradic
#781F4B #78781F #1F784C #201F78
square
#781F4B #78781F #1F784C #201F78
split-complementary
#781F4B #1F7820 #1F7878
monochromatic
#18060F #47122D #781F4B #A92C69 #CE4388
Accessibility & contrast
On white
10.02
#781F4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#781F4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F4B
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F4B | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F384C
Deuteranopia (green-blind)
#484849
Tritanopia (blue-blind)
#821732
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #781f4b; /* rgb */ color: rgb(120, 31, 75); /* oklch */ color: oklch(39.7% 0.130 354.5);
Tailwind
colors: {
custom: {
50: '#a3637d',
500: '#781f4b',
950: '#000000',
},
}SCSS
$custom: #781f4b; $custom-light: #a3637d; $custom-dark: #000000;
JSON
{
"hex": "#781f4b",
"rgb": {
"r": 120,
"g": 31,
"b": 75
},
"hsl": {
"h": 330.337,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.39697,
"c": 0.12977,
"h": 354.5
},
"luminance": 0.05481
}Semantic roles & 50–950 ramp
primary
#781F4B
secondary
#47AB7A
accent
#E29546
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B