#7E1D58#7E1D58
#7E1D58 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.144 H 348.1°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D58 |
|---|---|
| RGB | rgb(126, 29, 88) |
| HSL | hsl(324, 63%, 30%) |
| HSV | hsv(324, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 30.2%, 50.6%) |
| CIE-LAB | lab(29.46, 46.26, -11.32) |
| CIE-LCH | lch(29.46, 47.62, 346.25°) |
| OKLab | oklab(41.1% 0.141 -0.0298) |
| OKLCH | oklch(41.1% 0.144 348.1) |
| XYZ | xyz(10.8055, 6.0201, 9.8236) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.20
Red Purple
#820747
ΔE00 4.84
Rich Purple
#720058
ΔE00 5.05
Reddish Purple
#910951
ΔE00 5.12
Dark Magenta
#960056
ΔE00 5.24
Mulberry
#920A4E
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D58 #1D7E43
analogous
#731D7E #7E1D58 #7E1D27
triadic
#7E1D58 #587E1D #1D587E
tetradic
#7E1D58 #7E731D #1D7E43 #1D277E
square
#7E1D58 #7E731D #1D7E43 #1D277E
split-complementary
#7E1D58 #277E1D #1D7E73
monochromatic
#1B0613 #4C1235 #7E1D58 #B0287B #D3429A
Accessibility & contrast
On white
9.53
#7E1D58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E1D58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D58
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D58 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3B5A
Deuteranopia (green-blind)
#484C56
Tritanopia (blue-blind)
#871938
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1d58; /* rgb */ color: rgb(126, 29, 88); /* oklch */ color: oklch(41.1% 0.144 348.1);
Tailwind
colors: {
custom: {
50: '#a76387',
500: '#7e1d58',
950: '#000000',
},
}SCSS
$custom: #7e1d58; $custom-light: #a76387; $custom-dark: #000000;
JSON
{
"hex": "#7e1d58",
"rgb": {
"r": 126,
"g": 29,
"b": 88
},
"hsl": {
"h": 323.505,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.411,
"c": 0.14406,
"h": 348.1
},
"luminance": 0.06019
}Semantic roles & 50–950 ramp
primary
#7E1D58
secondary
#45B170
accent
#E68242
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C