#7F1560#7F1560
#7F1560 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.158 H 343.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1560 |
|---|---|
| RGB | rgb(127, 21, 96) |
| HSL | hsl(318, 72%, 29%) |
| HSV | hsv(318, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 24.4%, 50.2%) |
| CIE-LAB | lab(29.14, 50.05, -17.02) |
| CIE-LCH | lch(29.14, 52.87, 341.22°) |
| OKLab | oklab(41.02% 0.1512 -0.0456) |
| OKLCH | oklch(41.02% 0.158 343.2) |
| XYZ | xyz(11.1323, 5.8941, 11.6155) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.31
Rich Purple
#720058
ΔE00 3.51
Darkish Purple
#751973
ΔE00 5.88
Red Violet
#9E0168
ΔE00 5.91
Dark Magenta
#960056
ΔE00 6.53
Grape
#6C3461
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1560 #157F34
analogous
#69157F #7F1560 #7F152B
triadic
#7F1560 #607F15 #15607F
tetradic
#7F1560 #7F6915 #157F34 #152B7F
square
#7F1560 #7F6915 #157F34 #152B7F
split-complementary
#7F1560 #2B7F15 #157F69
monochromatic
#1A0414 #4A0C38 #7F1560 #B41E88 #DD31AB
Accessibility & contrast
On white
9.64
#7F1560 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F1560 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1560
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1560 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1560 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223A62
Deuteranopia (green-blind)
#444B5E
Tritanopia (blue-blind)
#88153A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1560; /* rgb */ color: rgb(127, 21, 96); /* oklch */ color: oklch(41.0% 0.158 343.2);
Tailwind
colors: {
custom: {
50: '#a8618d',
500: '#7f1560',
950: '#000000',
},
}SCSS
$custom: #7f1560; $custom-light: #a8618d; $custom-dark: #000000;
JSON
{
"hex": "#7f1560",
"rgb": {
"r": 127,
"g": 21,
"b": 96
},
"hsl": {
"h": 317.547,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.4102,
"c": 0.15796,
"h": 343.2
},
"luminance": 0.05893
}Semantic roles & 50–950 ramp
primary
#7F1560
secondary
#3CB45F
accent
#EE6E39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D