#7E1561#7E1561
#7E1561 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.158 H 342.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1561 |
|---|---|
| RGB | rgb(126, 21, 97) |
| HSL | hsl(317, 71%, 29%) |
| HSV | hsv(317, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 23%, 50.6%) |
| CIE-LAB | lab(29.00, 49.94, -17.92) |
| CIE-LCH | lch(29.00, 53.06, 340.26°) |
| OKLab | oklab(40.89% 0.1505 -0.0481) |
| OKLCH | oklch(40.89% 0.158 342.3) |
| XYZ | xyz(11.0304, 5.8362, 11.8525) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.32
Velvet
#750851
ΔE00 3.45
Darkish Purple
#751973
ΔE00 5.47
Red Violet
#9E0168
ΔE00 6.19
Grape Purple
#5D1451
ΔE00 6.63
Grape
#6C3461
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1561 #157E32
analogous
#67157E #7E1561 #7E152D
triadic
#7E1561 #617E15 #15617E
tetradic
#7E1561 #7E6715 #157E32 #152D7E
square
#7E1561 #7E6715 #157E32 #152D7E
split-complementary
#7E1561 #2D7E15 #157E67
monochromatic
#1A0414 #4A0C39 #7E1561 #B21E89 #DD31AD
Accessibility & contrast
On white
9.69
#7E1561 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E1561 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1561
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1561 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1561 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213A63
Deuteranopia (green-blind)
#434A5F
Tritanopia (blue-blind)
#86163A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1561; /* rgb */ color: rgb(126, 21, 97); /* oklch */ color: oklch(40.9% 0.158 342.3);
Tailwind
colors: {
custom: {
50: '#a7618e',
500: '#7e1561',
950: '#000000',
},
}SCSS
$custom: #7e1561; $custom-light: #a7618e; $custom-dark: #000000;
JSON
{
"hex": "#7e1561",
"rgb": {
"r": 126,
"g": 21,
"b": 97
},
"hsl": {
"h": 316.571,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.40892,
"c": 0.15797,
"h": 342.3
},
"luminance": 0.05835
}Semantic roles & 50–950 ramp
primary
#7E1561
secondary
#3CB35D
accent
#EE6B3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D