#7E1860#7E1860
#7E1860 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.154 H 343.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1860 |
|---|---|
| RGB | rgb(126, 24, 96) |
| HSL | hsl(318, 68%, 29%) |
| HSV | hsv(318, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 23.8%, 50.6%) |
| CIE-LAB | lab(29.25, 48.95, -16.88) |
| CIE-LCH | lch(29.25, 51.77, 340.98°) |
| OKLab | oklab(41.06% 0.1477 -0.0452) |
| OKLCH | oklch(41.06% 0.154 343) |
| XYZ | xyz(11.0426, 5.9346, 11.6280) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.37
Rich Purple
#720058
ΔE00 3.61
Darkish Purple
#751973
ΔE00 5.85
Red Violet
#9E0168
ΔE00 6.06
Grape
#6C3461
ΔE00 6.41
Dark Magenta
#960056
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1860 #187E36
analogous
#69187E #7E1860 #7E182D
triadic
#7E1860 #607E18 #18607E
tetradic
#7E1860 #7E6918 #187E36 #182D7E
square
#7E1860 #7E6918 #187E36 #182D7E
split-complementary
#7E1860 #2D7E18 #187E69
monochromatic
#1A0514 #4B0E39 #7E1860 #B12287 #D937A9
Accessibility & contrast
On white
9.60
#7E1860 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E1860 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1860
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1860 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1860 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#243A62
Deuteranopia (green-blind)
#444B5E
Tritanopia (blue-blind)
#87183A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1860; /* rgb */ color: rgb(126, 24, 96); /* oklch */ color: oklch(41.1% 0.154 343.0);
Tailwind
colors: {
custom: {
50: '#a7628d',
500: '#7e1860',
950: '#000000',
},
}SCSS
$custom: #7e1860; $custom-light: #a7628d; $custom-dark: #000000;
JSON
{
"hex": "#7e1860",
"rgb": {
"r": 126,
"g": 24,
"b": 96
},
"hsl": {
"h": 317.647,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.41058,
"c": 0.15443,
"h": 343
},
"luminance": 0.05933
}Semantic roles & 50–950 ramp
primary
#7E1860
secondary
#3FB261
accent
#EB703D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D