#7E1B58#7E1B58
#7E1B58 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.146 H 347.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1B58 |
|---|---|
| RGB | rgb(126, 27, 88) |
| HSL | hsl(323, 65%, 30%) |
| HSV | hsv(323, 79%, 49%) |
| CMYK | cmyk(0%, 78.6%, 30.2%, 50.6%) |
| CIE-LAB | lab(29.22, 46.94, -11.68) |
| CIE-LCH | lch(29.22, 48.37, 346.02°) |
| OKLab | oklab(40.92% 0.1431 -0.0308) |
| OKLCH | oklch(40.92% 0.146 347.9) |
| XYZ | xyz(10.7581, 5.9253, 9.8078) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.95
Rich Purple
#720058
ΔE00 4.78
Red Purple
#820747
ΔE00 4.86
Reddish Purple
#910951
ΔE00 5.17
Dark Magenta
#960056
ΔE00 5.26
Red Violet
#9E0168
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1B58 #1B7E41
analogous
#721B7E #7E1B58 #7E1B27
triadic
#7E1B58 #587E1B #1B587E
tetradic
#7E1B58 #7E721B #1B7E41 #1B277E
square
#7E1B58 #7E721B #1B7E41 #1B277E
split-complementary
#7E1B58 #277E1B #1B7E72
monochromatic
#190512 #4C1035 #7E1B58 #B0267B #D63E9B
Accessibility & contrast
On white
9.61
#7E1B58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7E1B58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1B58
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1B58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1B58 | 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)
#2A3A5A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#871637
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1b58; /* rgb */ color: rgb(126, 27, 88); /* oklch */ color: oklch(40.9% 0.146 347.9);
Tailwind
colors: {
custom: {
50: '#a76287',
500: '#7e1b58',
950: '#000000',
},
}SCSS
$custom: #7e1b58; $custom-light: #a76287; $custom-dark: #000000;
JSON
{
"hex": "#7e1b58",
"rgb": {
"r": 126,
"g": 27,
"b": 88
},
"hsl": {
"h": 323.03,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.40925,
"c": 0.14635,
"h": 347.9
},
"luminance": 0.05924
}Semantic roles & 50–950 ramp
primary
#7E1B58
secondary
#43B26E
accent
#E88040
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C