#781B42#781B42
#781B42 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.131 H 0.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #781B42 |
|---|---|
| RGB | rgb(120, 27, 66) |
| HSL | hsl(335, 63%, 29%) |
| HSV | hsv(335, 78%, 47%) |
| CMYK | cmyk(0%, 77.5%, 45%, 52.9%) |
| CIE-LAB | lab(27.22, 42.64, -0.18) |
| CIE-LCH | lch(27.22, 42.64, 359.76°) |
| OKLab | oklab(38.97% 0.1309 0) |
| OKLCH | oklch(38.97% 0.131 0) |
| XYZ | xyz(9.1217, 5.1715, 5.6710) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.73
Red Purple
#820747
ΔE00 2.91
Merlot
#730039
ΔE00 3.15
Mulberry
#920A4E
ΔE00 5.11
Reddish Purple
#910951
ΔE00 5.26
Berry
#990F4B
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781B42 #1B7851
analogous
#781B71 #781B42 #78231B
triadic
#781B42 #42781B #1B4278
tetradic
#781B42 #71781B #1B7851 #231B78
square
#781B42 #71781B #1B7851 #231B78
split-complementary
#781B42 #1B7823 #1B7178
monochromatic
#19060E #461027 #781B42 #AA265D #D33B7A
Accessibility & contrast
On white
10.32
#781B42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#781B42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781B42
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781B42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781B42 | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3543
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#830C2C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #781b42; /* rgb */ color: rgb(120, 27, 66); /* oklch */ color: oklch(39.0% 0.131 0.0);
Tailwind
colors: {
custom: {
50: '#a36176',
500: '#781b42',
950: '#000000',
},
}SCSS
$custom: #781b42; $custom-light: #a36176; $custom-dark: #000000;
JSON
{
"hex": "#781b42",
"rgb": {
"r": 120,
"g": 27,
"b": 66
},
"hsl": {
"h": 334.839,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.38971,
"c": 0.13086,
"h": 0
},
"luminance": 0.0517
}Semantic roles & 50–950 ramp
primary
#781B42
secondary
#43AC80
accent
#E6A141
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B