#782040#782040
#782040 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.4% C 0.124 H 2.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #782040 |
|---|---|
| RGB | rgb(120, 32, 64) |
| HSL | hsl(338, 58%, 30%) |
| HSV | hsv(338, 73%, 47%) |
| CMYK | cmyk(0%, 73.3%, 46.7%, 52.9%) |
| CIE-LAB | lab(27.84, 40.52, 2.07) |
| CIE-LCH | lch(27.84, 40.57, 2.92°) |
| OKLab | oklab(39.41% 0.124 0.0058) |
| OKLCH | oklch(39.41% 0.124 2.7) |
| XYZ | xyz(9.1884, 5.3974, 5.4074) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.50
Merlot
#730039
ΔE00 4.04
Red Purple
#820747
ΔE00 4.16
Mulberry
#920A4E
ΔE00 5.68
Bordeaux
#7B002C
ΔE00 5.95
Reddish Purple
#910951
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782040 #207858
analogous
#78206C #782040 #782C20
triadic
#782040 #407820 #204078
tetradic
#782040 #6C7820 #207858 #2C2078
square
#782040 #6C7820 #207858 #2C2078
split-complementary
#782040 #20782C #206C78
monochromatic
#18060D #481326 #782040 #A82D5A #CD4577
Accessibility & contrast
On white
10.10
#782040 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#782040 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782040
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782040 | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333741
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#83132D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #782040; /* rgb */ color: rgb(120, 32, 64); /* oklch */ color: oklch(39.4% 0.124 2.7);
Tailwind
colors: {
custom: {
50: '#a36374',
500: '#782040',
950: '#000000',
},
}SCSS
$custom: #782040; $custom-light: #a36374; $custom-dark: #000000;
JSON
{
"hex": "#782040",
"rgb": {
"r": 120,
"g": 32,
"b": 64
},
"hsl": {
"h": 338.182,
"s": 57.895,
"l": 29.804
},
"oklch": {
"l": 0.39407,
"c": 0.12415,
"h": 2.7
},
"luminance": 0.05396
}Semantic roles & 50–950 ramp
primary
#782040
secondary
#48AB87
accent
#E1A947
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B