#7F1561#7F1561
#7F1561 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.159 H 342.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1561 |
|---|---|
| RGB | rgb(127, 21, 97) |
| HSL | hsl(317, 72%, 29%) |
| HSV | hsv(317, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 23.6%, 50.2%) |
| CIE-LAB | lab(29.19, 50.19, -17.60) |
| CIE-LCH | lch(29.19, 53.18, 340.68°) |
| OKLab | oklab(41.07% 0.1514 -0.0472) |
| OKLCH | oklch(41.07% 0.159 342.7) |
| XYZ | xyz(11.1787, 5.9126, 11.8595) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.48
Rich Purple
#720058
ΔE00 3.49
Darkish Purple
#751973
ΔE00 5.64
Red Violet
#9E0168
ΔE00 5.97
Dark Magenta
#960056
ΔE00 6.72
Grape
#6C3461
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1561 #157F33
analogous
#68157F #7F1561 #7F152C
triadic
#7F1561 #617F15 #15617F
tetradic
#7F1561 #7F6815 #157F33 #152C7F
square
#7F1561 #7F6815 #157F33 #152C7F
split-complementary
#7F1561 #2C7F15 #157F68
monochromatic
#1A0414 #4A0C39 #7F1561 #B41E89 #DD31AC
Accessibility & contrast
On white
9.62
#7F1561 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F1561 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1561
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1561 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1561 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223A63
Deuteranopia (green-blind)
#444B5F
Tritanopia (blue-blind)
#88163A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1561; /* rgb */ color: rgb(127, 21, 97); /* oklch */ color: oklch(41.1% 0.159 342.7);
Tailwind
colors: {
custom: {
50: '#a8618e',
500: '#7f1561',
950: '#000000',
},
}SCSS
$custom: #7f1561; $custom-light: #a8618e; $custom-dark: #000000;
JSON
{
"hex": "#7f1561",
"rgb": {
"r": 127,
"g": 21,
"b": 97
},
"hsl": {
"h": 316.981,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.41069,
"c": 0.1586,
"h": 342.7
},
"luminance": 0.05911
}Semantic roles & 50–950 ramp
primary
#7F1561
secondary
#3CB45E
accent
#EE6D39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D