#8F216B#8F216B

#8F216B is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.163 H 344.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8F216B
RGBrgb(143, 33, 107)
HSLhsl(320, 63%, 35%)
HSVhsv(320, 77%, 56%)
CMYKcmyk(0%, 76.9%, 25.2%, 43.9%)
CIE-LABlab(33.96, 51.97, -16.42)
CIE-LCHlch(33.96, 54.50, 342.46°)
OKLaboklab(45.24% 0.1572 -0.0438)
OKLCHoklch(45.24% 0.163 344.4)
XYZxyz(14.5260, 7.9905, 14.6844)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F216B #218F45
analogous
#7C218F #8F216B #8F2134
triadic
#8F216B #6B8F21 #216B8F
tetradic
#8F216B #8F7C21 #218F45 #21348F
square
#8F216B #8F7C21 #218F45 #21348F
split-complementary
#8F216B #348F21 #218F7C
monochromatic
#2C0A21 #5D1646 #8F216B #C12C90 #D753AC

Accessibility & contrast

On white

8.08
#8F216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F216B
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F216B#FFFFFF#000000##FFFFFF
##8F216B1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446D
Deuteranopia (green-blind)
#505669
Tritanopia (blue-blind)
#992043
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f216b;
/* rgb */ color: rgb(143, 33, 107);
/* oklch */ color: oklch(45.2% 0.163 344.4);
Tailwind
colors: {
  custom: {
    50: '#b46895',
    500: '#8f216b',
    950: '#000000',
  },
}
SCSS
$custom: #8f216b;
$custom-light: #b46895;
$custom-dark: #000000;
JSON
{
  "hex": "#8f216b",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 319.636,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.16318,
    "h": 344.4
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#8F216B
secondary
#51BB74
accent
#E67842
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F216B

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

Preview Lab → · Contrast checker → · Palette generator →

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