#781842#781842
#781842 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.134 H 359.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #781842 |
|---|---|
| RGB | rgb(120, 24, 66) |
| HSL | hsl(334, 67%, 28%) |
| HSV | hsv(334, 80%, 47%) |
| CMYK | cmyk(0%, 80%, 45%, 52.9%) |
| CIE-LAB | lab(26.85, 43.67, -0.71) |
| CIE-LCH | lch(26.85, 43.68, 359.06°) |
| OKLab | oklab(38.7% 0.1342 -0.0014) |
| OKLCH | oklch(38.7% 0.134 359.4) |
| XYZ | xyz(9.0564, 5.0409, 5.6493) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.47
Red Purple
#820747
ΔE00 2.54
Merlot
#730039
ΔE00 2.79
Mulberry
#920A4E
ΔE00 5.02
Reddish Purple
#910951
ΔE00 5.11
Velvet
#750851
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781842 #18784E
analogous
#781872 #781842 #781E18
triadic
#781842 #427818 #184278
tetradic
#781842 #727818 #18784E #1E1878
square
#781842 #727818 #18784E #1E1878
split-complementary
#781842 #18781E #187278
monochromatic
#1A050E #450E26 #781842 #AB225E #D6347B
Accessibility & contrast
On white
10.46
#781842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#781842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781842
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781842 | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#484640
Tritanopia (blue-blind)
#83062B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #781842; /* rgb */ color: rgb(120, 24, 66); /* oklch */ color: oklch(38.7% 0.134 359.4);
Tailwind
colors: {
custom: {
50: '#a45f76',
500: '#781842',
950: '#000000',
},
}SCSS
$custom: #781842; $custom-light: #a45f76; $custom-dark: #000000;
JSON
{
"hex": "#781842",
"rgb": {
"r": 120,
"g": 24,
"b": 66
},
"hsl": {
"h": 333.75,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.38701,
"c": 0.13419,
"h": 359.4
},
"luminance": 0.0504
}Semantic roles & 50–950 ramp
primary
#781842
secondary
#3FAD7D
accent
#EA9F3E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B