#7E1D67#7E1D67
#7E1D67 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.154 H 339.4°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D67 |
|---|---|
| RGB | rgb(126, 29, 103) |
| HSL | hsl(314, 63%, 30%) |
| HSV | hsv(314, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 18.3%, 50.6%) |
| CIE-LAB | lab(30.14, 48.34, -20.02) |
| CIE-LCH | lch(30.14, 52.33, 337.51°) |
| OKLab | oklab(41.82% 0.1439 -0.0541) |
| OKLCH | oklch(41.82% 0.154 339.4) |
| XYZ | xyz(11.4920, 6.2947, 13.4391) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 4.27
Darkish Purple
#751973
ΔE00 4.51
Velvet
#750851
ΔE00 4.82
Grape
#6C3461
ΔE00 6.00
Purple
#800080
ΔE00 6.35
Red Violet
#9E0168
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D67 #1D7E34
analogous
#641D7E #7E1D67 #7E1D36
triadic
#7E1D67 #677E1D #1D677E
tetradic
#7E1D67 #7E641D #1D7E34 #1D367E
square
#7E1D67 #7E641D #1D7E34 #1D367E
split-complementary
#7E1D67 #367E1D #1D7E64
monochromatic
#1B0616 #4C123E #7E1D67 #B02890 #D342B1
Accessibility & contrast
On white
9.30
#7E1D67 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7E1D67 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D67
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D67 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D67 | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#233D69
Deuteranopia (green-blind)
#434C65
Tritanopia (blue-blind)
#862140
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7e1d67; /* rgb */ color: rgb(126, 29, 103); /* oklch */ color: oklch(41.8% 0.154 339.4);
Tailwind
colors: {
custom: {
50: '#a76492',
500: '#7e1d67',
950: '#000000',
},
}SCSS
$custom: #7e1d67; $custom-light: #a76492; $custom-dark: #000000;
JSON
{
"hex": "#7e1d67",
"rgb": {
"r": 126,
"g": 29,
"b": 103
},
"hsl": {
"h": 314.227,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.41817,
"c": 0.15371,
"h": 339.4
},
"luminance": 0.06294
}Semantic roles & 50–950 ramp
primary
#7E1D67
secondary
#45B15F
accent
#E66942
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E