#782157#782157
#782157 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.134 H 346.6°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #782157 |
|---|---|
| RGB | rgb(120, 33, 87) |
| HSL | hsl(323, 57%, 30%) |
| HSV | hsv(323, 73%, 47%) |
| CMYK | cmyk(0%, 72.5%, 27.5%, 52.9%) |
| CIE-LAB | lab(28.82, 42.91, -11.74) |
| CIE-LCH | lch(28.82, 44.49, 344.70°) |
| OKLab | oklab(40.41% 0.1301 -0.031) |
| OKLCH | oklch(40.41% 0.134 346.6) |
| XYZ | xyz(10.0103, 5.7700, 9.6015) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.16
Rich Purple
#720058
ΔE00 4.85
Grape
#6C3461
ΔE00 5.50
Red Purple
#820747
ΔE00 5.54
Reddish Purple
#910951
ΔE00 6.22
Dark Magenta
#960056
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782157 #217842
analogous
#6E2178 #782157 #78212B
triadic
#782157 #577821 #215778
tetradic
#782157 #786E21 #217842 #212B78
square
#782157 #786E21 #217842 #212B78
split-complementary
#782157 #2B7821 #21786E
monochromatic
#180711 #481434 #782157 #A82E7A #CC479A
Accessibility & contrast
On white
9.75
#782157 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#782157 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782157
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782157 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3A59
Deuteranopia (green-blind)
#454955
Tritanopia (blue-blind)
#801F39
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #782157; /* rgb */ color: rgb(120, 33, 87); /* oklch */ color: oklch(40.4% 0.134 346.6);
Tailwind
colors: {
custom: {
50: '#a26486',
500: '#782157',
950: '#000000',
},
}SCSS
$custom: #782157; $custom-light: #a26486; $custom-dark: #000000;
JSON
{
"hex": "#782157",
"rgb": {
"r": 120,
"g": 33,
"b": 87
},
"hsl": {
"h": 322.759,
"s": 56.863,
"l": 30
},
"oklch": {
"l": 0.40408,
"c": 0.13374,
"h": 346.6
},
"luminance": 0.05769
}Semantic roles & 50–950 ramp
primary
#782157
secondary
#4AAB6F
accent
#E08248
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C