#781F4F#781F4F
#781F4F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.132 H 351.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #781F4F |
|---|---|
| RGB | rgb(120, 31, 79) |
| HSL | hsl(328, 59%, 30%) |
| HSV | hsv(328, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 34.2%, 52.9%) |
| CIE-LAB | lab(28.22, 42.64, -7.38) |
| CIE-LCH | lch(28.22, 43.28, 350.18°) |
| OKLab | oklab(39.86% 0.1304 -0.0191) |
| OKLCH | oklch(39.86% 0.132 351.7) |
| XYZ | xyz(9.6475, 5.5387, 7.9566) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.73
Red Purple
#820747
ΔE00 3.78
Reddish Purple
#910951
ΔE00 5.15
Wine (survey)
#80013F
ΔE00 5.35
Merlot
#730039
ΔE00 5.59
Mulberry
#920A4E
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F4F #1F7848
analogous
#741F78 #781F4F #781F23
triadic
#781F4F #4F781F #1F4F78
tetradic
#781F4F #78741F #1F7848 #1F2378
square
#781F4F #78741F #1F7848 #1F2378
split-complementary
#781F4F #23781F #1F7874
monochromatic
#180610 #47122F #781F4F #A92C6F #CE438E
Accessibility & contrast
On white
9.96
#781F4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#781F4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F4F
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F4F | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3850
Deuteranopia (green-blind)
#47484D
Tritanopia (blue-blind)
#811934
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #781f4f; /* rgb */ color: rgb(120, 31, 79); /* oklch */ color: oklch(39.9% 0.132 351.7);
Tailwind
colors: {
custom: {
50: '#a36380',
500: '#781f4f',
950: '#000000',
},
}SCSS
$custom: #781f4f; $custom-light: #a36380; $custom-dark: #000000;
JSON
{
"hex": "#781f4f",
"rgb": {
"r": 120,
"g": 31,
"b": 79
},
"hsl": {
"h": 327.64,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.39857,
"c": 0.13178,
"h": 351.7
},
"luminance": 0.05538
}Semantic roles & 50–950 ramp
primary
#781F4F
secondary
#47AB75
accent
#E28E46
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C