#7E1559#7E1559
#7E1559 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.153 H 346.8°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1559 |
|---|---|
| RGB | rgb(126, 21, 89) |
| HSL | hsl(321, 71%, 29%) |
| HSV | hsv(321, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 29.4%, 50.6%) |
| CIE-LAB | lab(28.63, 48.88, -13.25) |
| CIE-LCH | lch(28.63, 50.65, 344.84°) |
| OKLab | oklab(40.51% 0.149 -0.0351) |
| OKLCH | oklch(40.51% 0.153 346.8) |
| XYZ | xyz(10.6761, 5.6945, 9.9862) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.40
Rich Purple
#720058
ΔE00 3.95
Red Purple
#820747
ΔE00 5.25
Dark Magenta
#960056
ΔE00 5.54
Reddish Purple
#910951
ΔE00 5.59
Red Violet
#9E0168
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1559 #157E3A
analogous
#6F157E #7E1559 #7E1525
triadic
#7E1559 #597E15 #15597E
tetradic
#7E1559 #7E6F15 #157E3A #15257E
square
#7E1559 #7E6F15 #157E3A #15257E
split-complementary
#7E1559 #257E15 #157E6F
monochromatic
#1A0413 #4A0C34 #7E1559 #B21E7E #DD31A0
Accessibility & contrast
On white
9.82
#7E1559 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#7E1559 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1559
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1559 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1559 | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26385B
Deuteranopia (green-blind)
#454A57
Tritanopia (blue-blind)
#871036
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1559; /* rgb */ color: rgb(126, 21, 89); /* oklch */ color: oklch(40.5% 0.153 346.8);
Tailwind
colors: {
custom: {
50: '#a76088',
500: '#7e1559',
950: '#000000',
},
}SCSS
$custom: #7e1559; $custom-light: #a76088; $custom-dark: #000000;
JSON
{
"hex": "#7e1559",
"rgb": {
"r": 126,
"g": 21,
"b": 89
},
"hsl": {
"h": 321.143,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.40507,
"c": 0.15306,
"h": 346.8
},
"luminance": 0.05693
}Semantic roles & 50–950 ramp
primary
#7E1559
secondary
#3CB366
accent
#EE793A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C