#8F216E#8F216E

#8F216E is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.165 H 342.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8F216E
RGBrgb(143, 33, 110)
HSLhsl(318, 63%, 35%)
HSVhsv(318, 77%, 56%)
CMYKcmyk(0%, 76.9%, 23.1%, 43.9%)
CIE-LABlab(34.10, 52.37, -18.12)
CIE-LCHlch(34.10, 55.42, 340.91°)
OKLaboklab(45.38% 0.1578 -0.0486)
OKLCHoklch(45.38% 0.165 342.9)
XYZxyz(14.6866, 8.0547, 15.5301)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F216E #218F42
analogous
#79218F #8F216E #8F2137
triadic
#8F216E #6E8F21 #216E8F
tetradic
#8F216E #8F7921 #218F42 #21378F
square
#8F216E #8F7921 #218F42 #21378F
split-complementary
#8F216E #378F21 #218F79
monochromatic
#2C0A22 #5D1648 #8F216E #C12C94 #D753B0

Accessibility & contrast

On white

8.04
#8F216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F216E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F216E#FFFFFF#000000##FFFFFF
##8F216E1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4570
Deuteranopia (green-blind)
#4F576B
Tritanopia (blue-blind)
#982245
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f216e;
/* rgb */ color: rgb(143, 33, 110);
/* oklch */ color: oklch(45.4% 0.165 342.9);
Tailwind
colors: {
  custom: {
    50: '#b46897',
    500: '#8f216e',
    950: '#000000',
  },
}
SCSS
$custom: #8f216e;
$custom-light: #b46897;
$custom-dark: #000000;
JSON
{
  "hex": "#8f216e",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 318,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45376,
    "c": 0.16506,
    "h": 342.9
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#8F216E
secondary
#51BB71
accent
#E67342
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F216E

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

Preview Lab → · Contrast checker → · Palette generator →

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