#8F1578#8F1578
#8F1578 is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.183 H 337.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1578 |
|---|---|
| RGB | rgb(143, 21, 120) |
| HSL | hsl(311, 74%, 32%) |
| HSV | hsv(311, 85%, 56%) |
| CMYK | cmyk(0%, 85.3%, 16.1%, 43.9%) |
| CIE-LAB | lab(33.42, 57.10, -25.50) |
| CIE-LCH | lch(33.42, 62.53, 335.93°) |
| OKLab | oklab(45.05% 0.1692 -0.0694) |
| OKLCH | oklch(45.05% 0.183 337.7) |
| XYZ | xyz(14.9864, 7.7335, 18.4691) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.81
Purple
#800080
ΔE00 5.10
Warm Purple
#952E8F
ΔE00 5.18
Darkish Purple
#751973
ΔE00 5.25
Red Violet
#9E0168
ΔE00 5.60
Barney Purple
#A00498
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1578 #158F2C
analogous
#69158F #8F1578 #8F153B
triadic
#8F1578 #788F15 #15788F
tetradic
#8F1578 #8F6915 #158F2C #153B8F
square
#8F1578 #8F6915 #158F2C #153B8F
split-complementary
#8F1578 #3B8F15 #158F69
monochromatic
#24051E #5A0D4B #8F1578 #C41DA5 #E23CC3
Accessibility & contrast
On white
8.25
#8F1578 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8F1578 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1578
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1578 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1578 | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B437A
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#971E47
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f1578; /* rgb */ color: rgb(143, 21, 120); /* oklch */ color: oklch(45.0% 0.183 337.7);
Tailwind
colors: {
custom: {
50: '#b4659f',
500: '#8f1578',
950: '#000000',
},
}SCSS
$custom: #8f1578; $custom-light: #b4659f; $custom-dark: #000000;
JSON
{
"hex": "#8f1578",
"rgb": {
"r": 143,
"g": 21,
"b": 120
},
"hsl": {
"h": 311.311,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.45047,
"c": 0.18285,
"h": 337.7
},
"luminance": 0.07732
}Semantic roles & 50–950 ramp
primary
#8F1578
secondary
#3EC257
accent
#F15A37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E