#781F42#781F42
#781F42 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.4% C 0.126 H 0.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #781F42 |
|---|---|
| RGB | rgb(120, 31, 66) |
| HSL | hsl(336, 59%, 30%) |
| HSV | hsv(336, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 45%, 52.9%) |
| CIE-LAB | lab(27.76, 41.13, 0.61) |
| CIE-LCH | lch(27.76, 41.13, 0.85°) |
| OKLab | oklab(39.37% 0.1261 0.0021) |
| OKLCH | oklch(39.37% 0.126 0.9) |
| XYZ | xyz(9.2198, 5.3676, 5.7037) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.24
Red Purple
#820747
ΔE00 3.55
Merlot
#730039
ΔE00 3.75
Mulberry
#920A4E
ΔE00 5.33
Reddish Purple
#910951
ΔE00 5.58
Berry
#990F4B
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F42 #1F7855
analogous
#781F6F #781F42 #78281F
triadic
#781F42 #42781F #1F4278
tetradic
#781F42 #6F781F #1F7855 #281F78
square
#781F42 #6F781F #1F7855 #281F78
split-complementary
#781F42 #1F7828 #1F6F78
monochromatic
#18060D #471227 #781F42 #A92C5D #CE437A
Accessibility & contrast
On white
10.13
#781F42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#781F42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F42
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F42 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323743
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#82122E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #781f42; /* rgb */ color: rgb(120, 31, 66); /* oklch */ color: oklch(39.4% 0.126 0.9);
Tailwind
colors: {
custom: {
50: '#a36276',
500: '#781f42',
950: '#000000',
},
}SCSS
$custom: #781f42; $custom-light: #a36276; $custom-dark: #000000;
JSON
{
"hex": "#781f42",
"rgb": {
"r": 120,
"g": 31,
"b": 66
},
"hsl": {
"h": 336.404,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.39368,
"c": 0.12607,
"h": 0.9
},
"luminance": 0.05366
}Semantic roles & 50–950 ramp
primary
#781F42
secondary
#47AB84
accent
#E2A546
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B