#782868#782868
#782868 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.136 H 336.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #782868 |
|---|---|
| RGB | rgb(120, 40, 104) |
| HSL | hsl(312, 50%, 31%) |
| HSV | hsv(312, 67%, 47%) |
| CMYK | cmyk(0%, 66.7%, 13.3%, 52.9%) |
| CIE-LAB | lab(30.67, 42.54, -19.93) |
| CIE-LCH | lch(30.67, 46.98, 334.89°) |
| OKLab | oklab(42.01% 0.1246 -0.0541) |
| OKLCH | oklch(42.01% 0.136 336.5) |
| XYZ | xyz(11.0034, 6.5111, 13.7713) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape
#6C3461
ΔE00 4.19
Darkish Purple
#751973
ΔE00 4.57
Rich Purple
#720058
ΔE00 5.38
Bruise
#7E4071
ΔE00 5.75
Velvet
#750851
ΔE00 5.87
Grape Purple
#5D1451
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782868 #287838
analogous
#602878 #782868 #782840
triadic
#782868 #687828 #286878
tetradic
#782868 #786028 #287838 #284078
square
#782868 #786028 #287838 #284078
split-complementary
#782868 #407828 #287860
monochromatic
#1C0918 #4A1940 #782868 #A63790 #C654AF
Accessibility & contrast
On white
9.12
#782868 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#782868 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782868
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782868 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782868 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29406A
Deuteranopia (green-blind)
#434D66
Tritanopia (blue-blind)
#7E2C44
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #782868; /* rgb */ color: rgb(120, 40, 104); /* oklch */ color: oklch(42.0% 0.136 336.5);
Tailwind
colors: {
custom: {
50: '#a26893',
500: '#782868',
950: '#000000',
},
}SCSS
$custom: #782868; $custom-light: #a26893; $custom-dark: #000000;
JSON
{
"hex": "#782868",
"rgb": {
"r": 120,
"g": 40,
"b": 104
},
"hsl": {
"h": 312,
"s": 50,
"l": 31.373
},
"oklch": {
"l": 0.42007,
"c": 0.13582,
"h": 336.5
},
"luminance": 0.0651
}Semantic roles & 50–950 ramp
primary
#782868
secondary
#52AA63
accent
#DA6A4E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E