#7E1863#7E1863
#7E1863 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.156 H 341.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1863 |
|---|---|
| RGB | rgb(126, 24, 99) |
| HSL | hsl(316, 68%, 29%) |
| HSV | hsv(316, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 21.4%, 50.6%) |
| CIE-LAB | lab(29.39, 49.36, -18.61) |
| CIE-LCH | lch(29.39, 52.75, 339.35°) |
| OKLab | oklab(41.21% 0.1481 -0.0501) |
| OKLCH | oklch(41.21% 0.156 341.3) |
| XYZ | xyz(11.1833, 5.9909, 12.3694) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.60
Velvet
#750851
ΔE00 3.90
Darkish Purple
#751973
ΔE00 5.12
Red Violet
#9E0168
ΔE00 6.26
Grape
#6C3461
ΔE00 6.40
Grape Purple
#5D1451
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1863 #187E33
analogous
#66187E #7E1863 #7E1830
triadic
#7E1863 #637E18 #18637E
tetradic
#7E1863 #7E6618 #187E33 #18307E
square
#7E1863 #7E6618 #187E33 #18307E
split-complementary
#7E1863 #307E18 #187E66
monochromatic
#1A0514 #4B0E3B #7E1863 #B1228B #D937AE
Accessibility & contrast
On white
9.55
#7E1863 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E1863 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1863
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1863 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1863 | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223B65
Deuteranopia (green-blind)
#434B61
Tritanopia (blue-blind)
#861A3C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1863; /* rgb */ color: rgb(126, 24, 99); /* oklch */ color: oklch(41.2% 0.156 341.3);
Tailwind
colors: {
custom: {
50: '#a7628f',
500: '#7e1863',
950: '#000000',
},
}SCSS
$custom: #7e1863; $custom-light: #a7628f; $custom-dark: #000000;
JSON
{
"hex": "#7e1863",
"rgb": {
"r": 126,
"g": 24,
"b": 99
},
"hsl": {
"h": 315.882,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.41208,
"c": 0.15639,
"h": 341.3
},
"luminance": 0.0599
}Semantic roles & 50–950 ramp
primary
#7E1863
secondary
#3FB25E
accent
#EB6B3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D