#8F166D#8F166D

#8F166D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.175 H 342.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8F166D
RGBrgb(143, 22, 109)
HSLhsl(317, 73%, 32%)
HSVhsv(317, 85%, 56%)
CMYKcmyk(0%, 84.6%, 23.8%, 43.9%)
CIE-LABlab(32.96, 55.36, -19.24)
CIE-LCHlch(32.96, 58.61, 340.83°)
OKLaboklab(44.54% 0.1672 -0.0516)
OKLCHoklch(44.54% 0.175 342.8)
XYZxyz(14.3755, 7.5192, 15.1593)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F166D #168F38
analogous
#75168F #8F166D #8F1630
triadic
#8F166D #6D8F16 #166D8F
tetradic
#8F166D #8F7516 #168F38 #16308F
square
#8F166D #8F7516 #168F38 #16308F
split-complementary
#8F166D #308F16 #168F75
monochromatic
#25061C #5A0E45 #8F166D #C41E95 #E13EB3

Accessibility & contrast

On white

8.39
#8F166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8F166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F166D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F166D#FFFFFF#000000##FFFFFF
##8F166D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#991741
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f166d;
/* rgb */ color: rgb(143, 22, 109);
/* oklch */ color: oklch(44.5% 0.175 342.8);
Tailwind
colors: {
  custom: {
    50: '#b46497',
    500: '#8f166d',
    950: '#000000',
  },
}
SCSS
$custom: #8f166d;
$custom-light: #b46497;
$custom-dark: #000000;
JSON
{
  "hex": "#8f166d",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 316.86,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.175,
    "h": 342.8
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#8F166D
secondary
#3FC164
accent
#F06C38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F166D

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

Preview Lab → · Contrast checker → · Palette generator →

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