#7E1D54#7E1D54
#7E1D54 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.142 H 350.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D54 |
|---|---|
| RGB | rgb(126, 29, 84) |
| HSL | hsl(326, 63%, 30%) |
| HSV | hsv(326, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 33.3%, 50.6%) |
| CIE-LAB | lab(29.30, 45.75, -8.94) |
| CIE-LCH | lch(29.30, 46.61, 348.95°) |
| OKLab | oklab(40.93% 0.1399 -0.0232) |
| OKLCH | oklch(40.93% 0.142 350.6) |
| XYZ | xyz(10.6444, 5.9557, 8.9748) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.54
Red Purple
#820747
ΔE00 3.86
Reddish Purple
#910951
ΔE00 4.42
Dark Magenta
#960056
ΔE00 4.81
Mulberry
#920A4E
ΔE00 5.18
Wine (survey)
#80013F
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D54 #1D7E47
analogous
#771D7E #7E1D54 #7E1D24
triadic
#7E1D54 #547E1D #1D547E
tetradic
#7E1D54 #7E771D #1D7E47 #1D247E
square
#7E1D54 #7E771D #1D7E47 #1D247E
split-complementary
#7E1D54 #247E1D #1D7E77
monochromatic
#1B0612 #4C1233 #7E1D54 #B02875 #D34294
Accessibility & contrast
On white
9.59
#7E1D54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E1D54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D54
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D54 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3A55
Deuteranopia (green-blind)
#494B52
Tritanopia (blue-blind)
#881636
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1d54; /* rgb */ color: rgb(126, 29, 84); /* oklch */ color: oklch(40.9% 0.142 350.6);
Tailwind
colors: {
custom: {
50: '#a76384',
500: '#7e1d54',
950: '#000000',
},
}SCSS
$custom: #7e1d54; $custom-light: #a76384; $custom-dark: #000000;
JSON
{
"hex": "#7e1d54",
"rgb": {
"r": 126,
"g": 29,
"b": 84
},
"hsl": {
"h": 325.979,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.40928,
"c": 0.14184,
"h": 350.6
},
"luminance": 0.05954
}Semantic roles & 50–950 ramp
primary
#7E1D54
secondary
#45B174
accent
#E68942
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C