#8F165B#8F165B

#8F165B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.165 H 352.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8F165B
RGBrgb(143, 22, 91)
HSLhsl(326, 73%, 32%)
HSVhsv(326, 85%, 56%)
CMYKcmyk(0%, 84.6%, 36.4%, 43.9%)
CIE-LABlab(32.19, 53.18, -8.82)
CIE-LCHlch(32.19, 53.90, 350.58°)
OKLaboklab(43.73% 0.1635 -0.0228)
OKLCHoklch(43.73% 0.165 352.1)
XYZxyz(13.5038, 7.1705, 10.5684)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F165B #168F4A
analogous
#86168F #8F165B #8F161F
triadic
#8F165B #5B8F16 #165B8F
tetradic
#8F165B #8F8616 #168F4A #161F8F
square
#8F165B #8F8616 #168F4A #161F8F
split-complementary
#8F165B #1F8F16 #168F86
monochromatic
#250617 #5A0E39 #8F165B #C41E7D #E13E9B

Accessibility & contrast

On white

8.63
#8F165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8F165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F165B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F165B#FFFFFF#000000##FFFFFF
##8F165B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3E5D
Deuteranopia (green-blind)
#525358
Tritanopia (blue-blind)
#9B0537
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8f165b;
/* rgb */ color: rgb(143, 22, 91);
/* oklch */ color: oklch(43.7% 0.165 352.1);
Tailwind
colors: {
  custom: {
    50: '#b56489',
    500: '#8f165b',
    950: '#000000',
  },
}
SCSS
$custom: #8f165b;
$custom-light: #b56489;
$custom-dark: #000000;
JSON
{
  "hex": "#8f165b",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 325.785,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43733,
    "c": 0.16504,
    "h": 352.1
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#8F165B
secondary
#3FC177
accent
#F08738
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8F165B

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

Preview Lab → · Contrast checker → · Palette generator →

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