#8F166B#8F166B

#8F166B is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.174 H 343.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8F166B
RGBrgb(143, 22, 107)
HSLhsl(318, 73%, 32%)
HSVhsv(318, 85%, 56%)
CMYKcmyk(0%, 84.6%, 25.2%, 43.9%)
CIE-LABlab(32.87, 55.10, -18.11)
CIE-LCHlch(32.87, 58.00, 341.81°)
OKLaboklab(44.44% 0.1669 -0.0484)
OKLCHoklch(44.44% 0.174 343.8)
XYZxyz(14.2691, 7.4766, 14.5987)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F166B #168F3A
analogous
#76168F #8F166B #8F162F
triadic
#8F166B #6B8F16 #166B8F
tetradic
#8F166B #8F7616 #168F3A #162F8F
square
#8F166B #8F7616 #168F3A #162F8F
split-complementary
#8F166B #2F8F16 #168F76
monochromatic
#25061C #5A0E43 #8F166B #C41E93 #E13EB1

Accessibility & contrast

On white

8.42
#8F166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8F166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F166B
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F166B#FFFFFF#000000##FFFFFF
##8F166B1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#4D5468
Tritanopia (blue-blind)
#991540
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f166b;
/* rgb */ color: rgb(143, 22, 107);
/* oklch */ color: oklch(44.4% 0.174 343.8);
Tailwind
colors: {
  custom: {
    50: '#b46495',
    500: '#8f166b',
    950: '#000000',
  },
}
SCSS
$custom: #8f166b;
$custom-light: #b46495;
$custom-dark: #000000;
JSON
{
  "hex": "#8f166b",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 317.851,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44443,
    "c": 0.17378,
    "h": 343.8
  },
  "luminance": 0.07475
}

Semantic roles & 50–950 ramp

primary
#8F166B
secondary
#3FC166
accent
#F06F38
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F166B

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

Preview Lab → · Contrast checker → · Palette generator →

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