#8F1576#8F1576
#8F1576 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.182 H 338.6°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8F1576 |
|---|---|
| RGB | rgb(143, 21, 118) |
| HSL | hsl(312, 74%, 32%) |
| HSV | hsv(312, 85%, 56%) |
| CMYK | cmyk(0%, 85.3%, 17.5%, 43.9%) |
| CIE-LAB | lab(33.32, 56.81, -24.40) |
| CIE-LCH | lch(33.32, 61.83, 336.76°) |
| OKLab | oklab(44.94% 0.169 -0.0663) |
| OKLCH | oklch(44.94% 0.182 338.6) |
| XYZ | xyz(14.8663, 7.6855, 17.8366) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 5.22
Red Violet
#9E0168
ΔE00 5.23
Darkish Purple
#751973
ΔE00 5.41
Purple
#800080
ΔE00 5.42
Warm Purple
#952E8F
ΔE00 5.49
Barney Purple
#A00498
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F1576 #158F2E
analogous
#6B158F #8F1576 #8F1539
triadic
#8F1576 #768F15 #15768F
tetradic
#8F1576 #8F6B15 #158F2E #15398F
square
#8F1576 #8F6B15 #158F2E #15398F
split-complementary
#8F1576 #398F15 #158F6B
monochromatic
#24051E #5A0D4A #8F1576 #C41DA2 #E23CC0
Accessibility & contrast
On white
8.28
#8F1576 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#8F1576 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F1576
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F1576 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F1576 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4378
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#981D46
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f1576; /* rgb */ color: rgb(143, 21, 118); /* oklch */ color: oklch(44.9% 0.182 338.6);
Tailwind
colors: {
custom: {
50: '#b4649e',
500: '#8f1576',
950: '#000000',
},
}SCSS
$custom: #8f1576; $custom-light: #b4649e; $custom-dark: #000000;
JSON
{
"hex": "#8f1576",
"rgb": {
"r": 143,
"g": 21,
"b": 118
},
"hsl": {
"h": 312.295,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.44941,
"c": 0.18153,
"h": 338.6
},
"luminance": 0.07684
}Semantic roles & 50–950 ramp
primary
#8F1576
secondary
#3EC259
accent
#F15D37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E