#7E1A58#7E1A58
#7E1A58 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.147 H 347.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A58 |
|---|---|
| RGB | rgb(126, 26, 88) |
| HSL | hsl(323, 66%, 30%) |
| HSV | hsv(323, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 30.2%, 50.6%) |
| CIE-LAB | lab(29.11, 47.26, -11.86) |
| CIE-LCH | lch(29.11, 48.73, 345.92°) |
| OKLab | oklab(40.84% 0.1441 -0.0312) |
| OKLCH | oklch(40.84% 0.147 347.8) |
| XYZ | xyz(10.7356, 5.8802, 9.8003) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.84
Rich Purple
#720058
ΔE00 4.65
Red Purple
#820747
ΔE00 4.87
Reddish Purple
#910951
ΔE00 5.20
Dark Magenta
#960056
ΔE00 5.27
Red Violet
#9E0168
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A58 #1A7E40
analogous
#721A7E #7E1A58 #7E1A26
triadic
#7E1A58 #587E1A #1A587E
tetradic
#7E1A58 #7E721A #1A7E40 #1A267E
square
#7E1A58 #7E721A #1A7E40 #1A267E
split-complementary
#7E1A58 #267E1A #1A7E72
monochromatic
#190512 #4B1035 #7E1A58 #B1247B #D73C9C
Accessibility & contrast
On white
9.65
#7E1A58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7E1A58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A58
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A58 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293A5A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#871537
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1a58; /* rgb */ color: rgb(126, 26, 88); /* oklch */ color: oklch(40.8% 0.147 347.8);
Tailwind
colors: {
custom: {
50: '#a76287',
500: '#7e1a58',
950: '#000000',
},
}SCSS
$custom: #7e1a58; $custom-light: #a76287; $custom-dark: #000000;
JSON
{
"hex": "#7e1a58",
"rgb": {
"r": 126,
"g": 26,
"b": 88
},
"hsl": {
"h": 322.8,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.40841,
"c": 0.14745,
"h": 347.8
},
"luminance": 0.05879
}Semantic roles & 50–950 ramp
primary
#7E1A58
secondary
#42B26C
accent
#E9803F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C