#7E1D68#7E1D68
#7E1D68 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.154 H 338.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D68 |
|---|---|
| RGB | rgb(126, 29, 104) |
| HSL | hsl(314, 63%, 30%) |
| HSV | hsv(314, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 17.5%, 50.6%) |
| CIE-LAB | lab(30.19, 48.49, -20.59) |
| CIE-LCH | lch(30.19, 52.68, 337.00°) |
| OKLab | oklab(41.87% 0.144 -0.0558) |
| OKLCH | oklch(41.87% 0.154 338.8) |
| XYZ | xyz(11.5425, 6.3149, 13.7050) |
| Luminance | 0.0631 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.28
Rich Purple
#720058
ΔE00 4.34
Velvet
#750851
ΔE00 5.01
Grape
#6C3461
ΔE00 6.06
Purple
#800080
ΔE00 6.12
Red Violet
#9E0168
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D68 #1D7E33
analogous
#631D7E #7E1D68 #7E1D37
triadic
#7E1D68 #687E1D #1D687E
tetradic
#7E1D68 #7E631D #1D7E33 #1D377E
square
#7E1D68 #7E631D #1D7E33 #1D377E
split-complementary
#7E1D68 #377E1D #1D7E63
monochromatic
#1B0616 #4C123F #7E1D68 #B02891 #D342B2
Accessibility & contrast
On white
9.28
#7E1D68 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7E1D68 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D68
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D68 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D68 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223D6A
Deuteranopia (green-blind)
#434D66
Tritanopia (blue-blind)
#852140
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e1d68; /* rgb */ color: rgb(126, 29, 104); /* oklch */ color: oklch(41.9% 0.154 338.8);
Tailwind
colors: {
custom: {
50: '#a76493',
500: '#7e1d68',
950: '#000000',
},
}SCSS
$custom: #7e1d68; $custom-light: #a76493; $custom-dark: #000000;
JSON
{
"hex": "#7e1d68",
"rgb": {
"r": 126,
"g": 29,
"b": 104
},
"hsl": {
"h": 313.608,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.41868,
"c": 0.15441,
"h": 338.8
},
"luminance": 0.06314
}Semantic roles & 50–950 ramp
primary
#7E1D68
secondary
#45B15E
accent
#E66742
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E