#8F147A#8F147A

#8F147A is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.1% C 0.185 H 336.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8F147A
RGBrgb(143, 20, 122)
HSLhsl(310, 75%, 32%)
HSVhsv(310, 86%, 56%)
CMYKcmyk(0%, 86%, 14.7%, 43.9%)
CIE-LABlab(33.45, 57.60, -26.72)
CIE-LCHlch(33.45, 63.50, 335.12°)
OKLaboklab(45.1% 0.17 -0.0729)
OKLCHoklch(45.1% 0.185 336.8)
XYZxyz(15.0910, 7.7466, 19.1091)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F147A #148F29
analogous
#67148F #8F147A #8F143D
triadic
#8F147A #7A8F14 #147A8F
tetradic
#8F147A #8F6714 #148F29 #143D8F
square
#8F147A #8F6714 #148F29 #143D8F
split-complementary
#8F147A #3D8F14 #148F67
monochromatic
#24051E #590C4C #8F147A #C51CA8 #E33AC7

Accessibility & contrast

On white

8.24
#8F147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8F147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F147A
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F147A#FFFFFF#000000##FFFFFF
##8F147A1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18437D
Deuteranopia (green-blind)
#475577
Tritanopia (blue-blind)
#971F48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f147a;
/* rgb */ color: rgb(143, 20, 122);
/* oklch */ color: oklch(45.1% 0.185 336.8);
Tailwind
colors: {
  custom: {
    50: '#b464a1',
    500: '#8f147a',
    950: '#000000',
  },
}
SCSS
$custom: #8f147a;
$custom-light: #b464a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f147a",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 310.244,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.18494,
    "h": 336.8
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#8F147A
secondary
#3CC353
accent
#F25636
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E

Preview Lab

Preview with #8F147A

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

Preview Lab → · Contrast checker → · Palette generator →

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