#8F156F#8F156F
#8F156F is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.177 H 341.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8F156F |
|---|---|
| RGB | rgb(143, 21, 111) |
| HSL | hsl(316, 74%, 32%) |
| HSV | hsv(316, 85%, 56%) |
| CMYK | cmyk(0%, 85.3%, 22.4%, 43.9%) |
| CIE-LAB | lab(32.97, 55.86, -20.50) |
| CIE-LCH | lch(32.97, 59.50, 339.85°) |
| OKLab | oklab(44.58% 0.1682 -0.0552) |
| OKLCH | oklch(44.58% 0.177 341.8) |
| XYZ | xyz(14.4656, 7.5252, 15.7266) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.98
Darkish Purple
#751973
ΔE00 6.24
Rich Purple
#720058
ΔE00 6.59
Purple
#800080
ΔE00 6.68
Dark Magenta
#960056
ΔE00 6.70
Warm Purple
#952E8F
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F156F #158F35
analogous
#72158F #8F156F #8F1532
triadic
#8F156F #6F8F15 #156F8F
tetradic
#8F156F #8F7215 #158F35 #15328F
square
#8F156F #8F7215 #158F35 #15328F
split-complementary
#8F156F #328F15 #158F72
monochromatic
#24051C #5A0D46 #8F156F #C41D98 #E23CB7
Accessibility & contrast
On white
8.38
#8F156F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8F156F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F156F
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F156F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F156F | 1.00 | 8.38 | 2.50 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234171
Deuteranopia (green-blind)
#4B546C
Tritanopia (blue-blind)
#981842
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8f156f; /* rgb */ color: rgb(143, 21, 111); /* oklch */ color: oklch(44.6% 0.177 341.8);
Tailwind
colors: {
custom: {
50: '#b46498',
500: '#8f156f',
950: '#000000',
},
}SCSS
$custom: #8f156f; $custom-light: #b46498; $custom-dark: #000000;
JSON
{
"hex": "#8f156f",
"rgb": {
"r": 143,
"g": 21,
"b": 111
},
"hsl": {
"h": 315.738,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.44581,
"c": 0.17704,
"h": 341.8
},
"luminance": 0.07524
}Semantic roles & 50–950 ramp
primary
#8F156F
secondary
#3EC260
accent
#F16837
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E