#7E1758#7E1758
#7E1758 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.151 H 347.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1758 |
|---|---|
| RGB | rgb(126, 23, 88) |
| HSL | hsl(322, 69%, 29%) |
| HSV | hsv(322, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 30.2%, 50.6%) |
| CIE-LAB | lab(28.78, 48.19, -12.35) |
| CIE-LCH | lch(28.78, 49.75, 345.62°) |
| OKLab | oklab(40.61% 0.147 -0.0326) |
| OKLCH | oklch(40.61% 0.151 347.5) |
| XYZ | xyz(10.6726, 5.7542, 9.7793) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.54
Rich Purple
#720058
ΔE00 4.31
Red Purple
#820747
ΔE00 4.93
Reddish Purple
#910951
ΔE00 5.31
Dark Magenta
#960056
ΔE00 5.34
Red Violet
#9E0168
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1758 #177E3D
analogous
#71177E #7E1758 #7E1724
triadic
#7E1758 #587E17 #17587E
tetradic
#7E1758 #7E7117 #177E3D #17247E
square
#7E1758 #7E7117 #177E3D #17247E
split-complementary
#7E1758 #247E17 #177E71
monochromatic
#1A0512 #4A0E34 #7E1758 #B2207C #DA359D
Accessibility & contrast
On white
9.76
#7E1758 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E1758 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1758
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1758 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1758 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#871236
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1758; /* rgb */ color: rgb(126, 23, 88); /* oklch */ color: oklch(40.6% 0.151 347.5);
Tailwind
colors: {
custom: {
50: '#a76187',
500: '#7e1758',
950: '#000000',
},
}SCSS
$custom: #7e1758; $custom-light: #a76187; $custom-dark: #000000;
JSON
{
"hex": "#7e1758",
"rgb": {
"r": 126,
"g": 23,
"b": 88
},
"hsl": {
"h": 322.136,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.40606,
"c": 0.15056,
"h": 347.5
},
"luminance": 0.05753
}Semantic roles & 50–950 ramp
primary
#7E1758
secondary
#3EB369
accent
#EC7D3C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C