#781F40#781F40
#781F40 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.125 H 2.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #781F40 |
|---|---|
| RGB | rgb(120, 31, 64) |
| HSL | hsl(338, 59%, 30%) |
| HSV | hsv(338, 74%, 47%) |
| CMYK | cmyk(0%, 74.2%, 46.7%, 52.9%) |
| CIE-LAB | lab(27.69, 40.92, 1.86) |
| CIE-LCH | lch(27.69, 40.96, 2.60°) |
| OKLab | oklab(39.3% 0.1253 0.0053) |
| OKLCH | oklch(39.3% 0.125 2.4) |
| XYZ | xyz(9.1618, 5.3444, 5.3986) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.32
Merlot
#730039
ΔE00 3.85
Red Purple
#820747
ΔE00 3.97
Mulberry
#920A4E
ΔE00 5.58
Reddish Purple
#910951
ΔE00 5.94
Bordeaux
#7B002C
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781F40 #1F7857
analogous
#781F6D #781F40 #782B1F
triadic
#781F40 #40781F #1F4078
tetradic
#781F40 #6D781F #1F7857 #2B1F78
square
#781F40 #6D781F #1F7857 #2B1F78
split-complementary
#781F40 #1F782B #1F6D78
monochromatic
#18060D #471226 #781F40 #A92C5A #CE4377
Accessibility & contrast
On white
10.15
#781F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#781F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781F40
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781F40 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333641
Deuteranopia (green-blind)
#4A483E
Tritanopia (blue-blind)
#83112D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #781f40; /* rgb */ color: rgb(120, 31, 64); /* oklch */ color: oklch(39.3% 0.125 2.4);
Tailwind
colors: {
custom: {
50: '#a36274',
500: '#781f40',
950: '#000000',
},
}SCSS
$custom: #781f40; $custom-light: #a36274; $custom-dark: #000000;
JSON
{
"hex": "#781f40",
"rgb": {
"r": 120,
"g": 31,
"b": 64
},
"hsl": {
"h": 337.753,
"s": 58.94,
"l": 29.608
},
"oklch": {
"l": 0.39301,
"c": 0.12541,
"h": 2.4
},
"luminance": 0.05343
}Semantic roles & 50–950 ramp
primary
#781F40
secondary
#47AB86
accent
#E2A846
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B