#8F167A#8F167A

#8F167A is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.2% C 0.183 H 336.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8F167A
RGBrgb(143, 22, 122)
HSLhsl(310, 73%, 32%)
HSVhsv(310, 85%, 56%)
CMYKcmyk(0%, 84.6%, 14.7%, 43.9%)
CIE-LABlab(33.61, 57.15, -26.47)
CIE-LCHlch(33.61, 62.98, 335.15°)
OKLaboklab(45.21% 0.1686 -0.0722)
OKLCHoklch(45.21% 0.183 336.8)
XYZxyz(15.1278, 7.8201, 19.1213)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F167A #168F2B
analogous
#67168F #8F167A #8F163E
triadic
#8F167A #7A8F16 #167A8F
tetradic
#8F167A #8F6716 #168F2B #163E8F
square
#8F167A #8F6716 #168F2B #163E8F
split-complementary
#8F167A #3E8F16 #168F67
monochromatic
#25061F #5A0E4D #8F167A #C41EA7 #E13EC5

Accessibility & contrast

On white

8.19
#8F167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F167A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F167A#FFFFFF#000000##FFFFFF
##8F167A1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447C
Deuteranopia (green-blind)
#475577
Tritanopia (blue-blind)
#972049
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f167a;
/* rgb */ color: rgb(143, 22, 122);
/* oklch */ color: oklch(45.2% 0.183 336.8);
Tailwind
colors: {
  custom: {
    50: '#b465a1',
    500: '#8f167a',
    950: '#000000',
  },
}
SCSS
$custom: #8f167a;
$custom-light: #b465a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f167a",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 310.413,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45212,
    "c": 0.18342,
    "h": 336.8
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#8F167A
secondary
#3FC156
accent
#F05838
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E

Preview Lab

Preview with #8F167A

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

Preview Lab → · Contrast checker → · Palette generator →

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