#8F166C#8F166C

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

Color values

HEX#8F166C
RGBrgb(143, 22, 108)
HSLhsl(317, 73%, 32%)
HSVhsv(317, 85%, 56%)
CMYKcmyk(0%, 84.6%, 24.5%, 43.9%)
CIE-LABlab(32.91, 55.23, -18.68)
CIE-LCHlch(32.91, 58.30, 341.32°)
OKLaboklab(44.49% 0.1671 -0.05)
OKLCHoklch(44.49% 0.174 343.3)
XYZxyz(14.3220, 7.4978, 14.8774)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F166C #168F39
analogous
#75168F #8F166C #8F1630
triadic
#8F166C #6C8F16 #166C8F
tetradic
#8F166C #8F7516 #168F39 #16308F
square
#8F166C #8F7516 #168F39 #16308F
split-complementary
#8F166C #308F16 #168F75
monochromatic
#25061C #5A0E44 #8F166C #C41E94 #E13EB2

Accessibility & contrast

On white

8.40
#8F166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F166C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F166C#FFFFFF#000000##FFFFFF
##8F166C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#4D5469
Tritanopia (blue-blind)
#991641
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f166c;
/* rgb */ color: rgb(143, 22, 108);
/* oklch */ color: oklch(44.5% 0.174 343.3);
Tailwind
colors: {
  custom: {
    50: '#b46496',
    500: '#8f166c',
    950: '#000000',
  },
}
SCSS
$custom: #8f166c;
$custom-light: #b46496;
$custom-dark: #000000;
JSON
{
  "hex": "#8f166c",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 317.355,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44492,
    "c": 0.17438,
    "h": 343.3
  },
  "luminance": 0.07496
}

Semantic roles & 50–950 ramp

primary
#8F166C
secondary
#3FC165
accent
#F06D38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8F166C

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

Preview Lab → · Contrast checker → · Palette generator →

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