#7E1159#7E1159
#7E1159 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.157 H 346.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1159 |
|---|---|
| RGB | rgb(126, 17, 89) |
| HSL | hsl(320, 76%, 28%) |
| HSV | hsv(320, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 29.4%, 50.6%) |
| CIE-LAB | lab(28.27, 49.91, -13.80) |
| CIE-LCH | lch(28.27, 51.78, 344.55°) |
| OKLab | oklab(40.25% 0.1522 -0.0366) |
| OKLCH | oklch(40.25% 0.157 346.5) |
| XYZ | xyz(10.6083, 5.5590, 9.9636) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.18
Rich Purple
#720058
ΔE00 3.60
Red Purple
#820747
ΔE00 5.37
Dark Magenta
#960056
ΔE00 5.67
Reddish Purple
#910951
ΔE00 5.76
Red Violet
#9E0168
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1159 #117E36
analogous
#6C117E #7E1159 #7E1122
triadic
#7E1159 #597E11 #11597E
tetradic
#7E1159 #7E6C11 #117E36 #11227E
square
#7E1159 #7E6C11 #117E36 #11227E
split-complementary
#7E1159 #227E11 #117E6C
monochromatic
#1B0413 #480A33 #7E1159 #B4187F #E227A3
Accessibility & contrast
On white
9.95
#7E1159 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E1159 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1159
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1159 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1159 | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23375B
Deuteranopia (green-blind)
#454957
Tritanopia (blue-blind)
#870C35
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1159; /* rgb */ color: rgb(126, 17, 89); /* oklch */ color: oklch(40.2% 0.157 346.5);
Tailwind
colors: {
custom: {
50: '#a85f88',
500: '#7e1159',
950: '#000000',
},
}SCSS
$custom: #7e1159; $custom-light: #a85f88; $custom-dark: #000000;
JSON
{
"hex": "#7e1159",
"rgb": {
"r": 126,
"g": 17,
"b": 89
},
"hsl": {
"h": 320.367,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.40249,
"c": 0.15653,
"h": 346.5
},
"luminance": 0.05558
}Semantic roles & 50–950 ramp
primary
#7E1159
secondary
#37B461
accent
#F37535
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C