#781862#781862
#781862 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.152 H 339.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #781862 |
|---|---|
| RGB | rgb(120, 24, 98) |
| HSL | hsl(314, 67%, 28%) |
| HSV | hsv(314, 80%, 47%) |
| CMYK | cmyk(0%, 80%, 18.3%, 52.9%) |
| CIE-LAB | lab(28.19, 47.72, -19.91) |
| CIE-LCH | lch(28.19, 51.71, 337.36°) |
| OKLab | oklab(40.12% 0.1421 -0.0539) |
| OKLCH | oklch(40.12% 0.152 339.2) |
| XYZ | xyz(10.2772, 5.5292, 12.0789) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 2.88
Velvet
#750851
ΔE00 3.87
Darkish Purple
#751973
ΔE00 4.38
Grape Purple
#5D1451
ΔE00 5.55
Grape
#6C3461
ΔE00 6.10
Purple
#800080
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#781862 #18782E
analogous
#5E1878 #781862 #781832
triadic
#781862 #627818 #186278
tetradic
#781862 #785E18 #18782E #183278
square
#781862 #785E18 #18782E #183278
split-complementary
#781862 #327818 #18785E
monochromatic
#1A0515 #450E38 #781862 #AB228C #D634B1
Accessibility & contrast
On white
9.97
#781862 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#781862 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #781862
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##781862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##781862 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3964
Deuteranopia (green-blind)
#3F4860
Tritanopia (blue-blind)
#7F1C3B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #781862; /* rgb */ color: rgb(120, 24, 98); /* oklch */ color: oklch(40.1% 0.152 339.2);
Tailwind
colors: {
custom: {
50: '#a2618f',
500: '#781862',
950: '#000000',
},
}SCSS
$custom: #781862; $custom-light: #a2618f; $custom-dark: #000000;
JSON
{
"hex": "#781862",
"rgb": {
"r": 120,
"g": 24,
"b": 98
},
"hsl": {
"h": 313.75,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.40115,
"c": 0.15193,
"h": 339.2
},
"luminance": 0.05528
}Semantic roles & 50–950 ramp
primary
#781862
secondary
#3FAD58
accent
#EA653E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F050C
muted
#7F7A7D