#781E42#781E42
#781E42 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.127 H 0.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #781E42 |
|---|---|
| RGB | rgb(120, 30, 66) |
| HSL | hsl(336, 60%, 29%) |
| HSV | hsv(336, 75%, 47%) |
| CMYK | cmyk(0%, 75%, 45%, 52.9%) |
| CIE-LAB | lab(27.62, 41.52, 0.41) |
| CIE-LCH | lch(27.62, 41.52, 0.56°) |
| OKLab | oklab(39.27% 0.1273 0.0015) |
| OKLCH | oklch(39.27% 0.127 0.7) |
| XYZ | xyz(9.1941, 5.3161, 5.6952) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.10
Red Purple
#820747
ΔE00 3.37
Merlot
#730039
ΔE00 3.59
Mulberry
#920A4E
ΔE00 5.26
Reddish Purple
#910951
ΔE00 5.49
Berry
#990F4B
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781E42 #1E7854
analogous
#781E6F #781E42 #78271E
triadic
#781E42 #42781E #1E4278
tetradic
#781E42 #6F781E #1E7854 #271E78
square
#781E42 #6F781E #1E7854 #271E78
split-complementary
#781E42 #1E7827 #1E6F78
monochromatic
#18060D #471227 #781E42 #A92A5D #CF417A
Accessibility & contrast
On white
10.18
#781E42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#781E42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781E42
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781E42 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313643
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#82112D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #781e42; /* rgb */ color: rgb(120, 30, 66); /* oklch */ color: oklch(39.3% 0.127 0.7);
Tailwind
colors: {
custom: {
50: '#a36276',
500: '#781e42',
950: '#000000',
},
}SCSS
$custom: #781e42; $custom-light: #a36276; $custom-dark: #000000;
JSON
{
"hex": "#781e42",
"rgb": {
"r": 120,
"g": 30,
"b": 66
},
"hsl": {
"h": 336,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.39265,
"c": 0.1273,
"h": 0.7
},
"luminance": 0.05315
}Semantic roles & 50–950 ramp
primary
#781E42
secondary
#46AC83
accent
#E3A445
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B