#7E1A57#7E1A57
#7E1A57 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.147 H 348.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A57 |
|---|---|
| RGB | rgb(126, 26, 87) |
| HSL | hsl(323, 66%, 30%) |
| HSV | hsv(323, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 31%, 50.6%) |
| CIE-LAB | lab(29.07, 47.13, -11.26) |
| CIE-LCH | lch(29.07, 48.46, 346.56°) |
| OKLab | oklab(40.8% 0.1439 -0.0296) |
| OKLCH | oklch(40.8% 0.147 348.4) |
| XYZ | xyz(10.6944, 5.8638, 9.5836) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.87
Red Purple
#820747
ΔE00 4.62
Rich Purple
#720058
ΔE00 4.82
Reddish Purple
#910951
ΔE00 5.01
Dark Magenta
#960056
ΔE00 5.14
Mulberry
#920A4E
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A57 #1A7E41
analogous
#731A7E #7E1A57 #7E1A25
triadic
#7E1A57 #577E1A #1A577E
tetradic
#7E1A57 #7E731A #1A7E41 #1A257E
square
#7E1A57 #7E731A #1A7E41 #1A257E
split-complementary
#7E1A57 #257E1A #1A7E73
monochromatic
#190512 #4B1034 #7E1A57 #B1247A #D73C9A
Accessibility & contrast
On white
9.67
#7E1A57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E1A57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A57
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A57 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3959
Deuteranopia (green-blind)
#474B55
Tritanopia (blue-blind)
#871536
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1a57; /* rgb */ color: rgb(126, 26, 87); /* oklch */ color: oklch(40.8% 0.147 348.4);
Tailwind
colors: {
custom: {
50: '#a76286',
500: '#7e1a57',
950: '#000000',
},
}SCSS
$custom: #7e1a57; $custom-light: #a76286; $custom-dark: #000000;
JSON
{
"hex": "#7e1a57",
"rgb": {
"r": 126,
"g": 26,
"b": 87
},
"hsl": {
"h": 323.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.40797,
"c": 0.14688,
"h": 348.4
},
"luminance": 0.05863
}Semantic roles & 50–950 ramp
primary
#7E1A57
secondary
#42B26E
accent
#E9813F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C