#8F177A#8F177A
#8F177A is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.3% C 0.183 H 336.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8F177A |
|---|---|
| RGB | rgb(143, 23, 122) |
| HSL | hsl(311, 72%, 33%) |
| HSV | hsv(311, 84%, 56%) |
| CMYK | cmyk(0%, 83.9%, 14.7%, 43.9%) |
| CIE-LAB | lab(33.69, 56.91, -26.34) |
| CIE-LCH | lch(33.69, 62.71, 335.16°) |
| OKLab | oklab(45.27% 0.1679 -0.0718) |
| OKLCH | oklch(45.27% 0.183 336.8) |
| XYZ | xyz(15.1473, 7.8590, 19.1278) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.51
Warm Purple
#952E8F
ΔE00 4.79
Purple
#800080
ΔE00 4.94
Darkish Purple
#751973
ΔE00 5.19
Barney Purple
#A00498
ΔE00 5.45
Red Violet
#9E0168
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F177A #178F2C
analogous
#68178F #8F177A #8F173E
triadic
#8F177A #7A8F17 #177A8F
tetradic
#8F177A #8F6817 #178F2C #173E8F
square
#8F177A #8F6817 #178F2C #173E8F
split-complementary
#8F177A #3E8F17 #178F68
monochromatic
#260620 #5A0F4D #8F177A #C41FA7 #E040C4
Accessibility & contrast
On white
8.17
#8F177A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8F177A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F177A
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F177A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F177A | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B447C
Deuteranopia (green-blind)
#475577
Tritanopia (blue-blind)
#972149
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f177a; /* rgb */ color: rgb(143, 23, 122); /* oklch */ color: oklch(45.3% 0.183 336.8);
Tailwind
colors: {
custom: {
50: '#b465a1',
500: '#8f177a',
950: '#000000',
},
}SCSS
$custom: #8f177a; $custom-light: #b465a1; $custom-dark: #000000;
JSON
{
"hex": "#8f177a",
"rgb": {
"r": 143,
"g": 23,
"b": 122
},
"hsl": {
"h": 310.5,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.45271,
"c": 0.18261,
"h": 336.8
},
"luminance": 0.07858
}Semantic roles & 50–950 ramp
primary
#8F177A
secondary
#41C157
accent
#EF5939
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E