#8F1579#8F1579
#8F1579 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.184 H 337.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1579 |
|---|---|
| RGB | rgb(143, 21, 121) |
| HSL | hsl(311, 74%, 32%) |
| HSV | hsv(311, 85%, 56%) |
| CMYK | cmyk(0%, 85.3%, 15.4%, 43.9%) |
| CIE-LAB | lab(33.47, 57.24, -26.05) |
| CIE-LCH | lch(33.47, 62.89, 335.53°) |
| OKLab | oklab(45.1% 0.1692 -0.071) |
| OKLCH | oklch(45.1% 0.184 337.2) |
| XYZ | xyz(15.0474, 7.7579, 18.7904) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.60
Purple
#800080
ΔE00 4.95
Warm Purple
#952E8F
ΔE00 5.03
Darkish Purple
#751973
ΔE00 5.18
Barney Purple
#A00498
ΔE00 5.61
Red Violet
#9E0168
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1579 #158F2B
analogous
#68158F #8F1579 #8F153C
triadic
#8F1579 #798F15 #15798F
tetradic
#8F1579 #8F6815 #158F2B #153C8F
square
#8F1579 #8F6815 #158F2B #153C8F
split-complementary
#8F1579 #3C8F15 #158F68
monochromatic
#24051F #5A0D4C #8F1579 #C41DA6 #E23CC4
Accessibility & contrast
On white
8.23
#8F1579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8F1579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1579
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1579 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A437B
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#971F48
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1579; /* rgb */ color: rgb(143, 21, 121); /* oklch */ color: oklch(45.1% 0.184 337.2);
Tailwind
colors: {
custom: {
50: '#b465a0',
500: '#8f1579',
950: '#000000',
},
}SCSS
$custom: #8f1579; $custom-light: #b465a0; $custom-dark: #000000;
JSON
{
"hex": "#8f1579",
"rgb": {
"r": 143,
"g": 21,
"b": 121
},
"hsl": {
"h": 310.82,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.45101,
"c": 0.18352,
"h": 337.2
},
"luminance": 0.07756
}Semantic roles & 50–950 ramp
primary
#8F1579
secondary
#3EC256
accent
#F15837
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E