#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
RGBrgb(143, 21, 111)
HSLhsl(316, 74%, 32%)
HSVhsv(316, 85%, 56%)
CMYKcmyk(0%, 85.3%, 22.4%, 43.9%)
CIE-LABlab(32.97, 55.86, -20.50)
CIE-LCHlch(32.97, 59.50, 339.85°)
OKLaboklab(44.58% 0.1682 -0.0552)
OKLCHoklch(44.58% 0.177 341.8)
XYZxyz(14.4656, 7.5252, 15.7266)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##8F156F1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.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

Preview Lab

Preview with #8F156F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8F156F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva