#7E1D52#7E1D52
#7E1D52 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.141 H 351.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D52 |
|---|---|
| RGB | rgb(126, 29, 82) |
| HSL | hsl(327, 63%, 30%) |
| HSV | hsv(327, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 34.9%, 50.6%) |
| CIE-LAB | lab(29.22, 45.50, -7.74) |
| CIE-LCH | lch(29.22, 46.15, 350.35°) |
| OKLab | oklab(40.85% 0.1394 -0.02) |
| OKLCH | oklch(40.85% 0.141 351.8) |
| XYZ | xyz(10.5672, 5.9248, 8.5681) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.40
Velvet
#750851
ΔE00 3.84
Reddish Purple
#910951
ΔE00 4.14
Dark Magenta
#960056
ΔE00 4.67
Mulberry
#920A4E
ΔE00 4.82
Wine (survey)
#80013F
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D52 #1D7E49
analogous
#791D7E #7E1D52 #7E1D22
triadic
#7E1D52 #527E1D #1D527E
tetradic
#7E1D52 #7E791D #1D7E49 #1D227E
square
#7E1D52 #7E791D #1D7E49 #1D227E
split-complementary
#7E1D52 #227E1D #1D7E79
monochromatic
#1B0611 #4C1232 #7E1D52 #B02872 #D34291
Accessibility & contrast
On white
9.61
#7E1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7E1D52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D52
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D52 | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#4A4B50
Tritanopia (blue-blind)
#881535
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1d52; /* rgb */ color: rgb(126, 29, 82); /* oklch */ color: oklch(40.8% 0.141 351.8);
Tailwind
colors: {
custom: {
50: '#a76382',
500: '#7e1d52',
950: '#000000',
},
}SCSS
$custom: #7e1d52; $custom-light: #a76382; $custom-dark: #000000;
JSON
{
"hex": "#7e1d52",
"rgb": {
"r": 126,
"g": 29,
"b": 82
},
"hsl": {
"h": 327.216,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.40845,
"c": 0.14079,
"h": 351.8
},
"luminance": 0.05924
}Semantic roles & 50–950 ramp
primary
#7E1D52
secondary
#45B176
accent
#E68C42
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C