#8F216A#8F216A

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

Color values

HEX#8F216A
RGBrgb(143, 33, 106)
HSLhsl(320, 63%, 35%)
HSVhsv(320, 77%, 56%)
CMYKcmyk(0%, 76.9%, 25.9%, 43.9%)
CIE-LABlab(33.92, 51.83, -15.85)
CIE-LCHlch(33.92, 54.20, 343.00°)
OKLaboklab(45.19% 0.157 -0.0422)
OKLCHoklch(45.19% 0.163 345)
XYZxyz(14.4737, 7.9695, 14.4089)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F216A #218F46
analogous
#7D218F #8F216A #8F2133
triadic
#8F216A #6A8F21 #216A8F
tetradic
#8F216A #8F7D21 #218F46 #21338F
square
#8F216A #8F7D21 #218F46 #21338F
split-complementary
#8F216A #338F21 #218F7D
monochromatic
#2C0A20 #5D1645 #8F216A #C12C8F #D753AB

Accessibility & contrast

On white

8.10
#8F216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F216A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F216A#FFFFFF#000000##FFFFFF
##8F216A1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446C
Deuteranopia (green-blind)
#505668
Tritanopia (blue-blind)
#991F43
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f216a;
/* rgb */ color: rgb(143, 33, 106);
/* oklch */ color: oklch(45.2% 0.163 345.0);
Tailwind
colors: {
  custom: {
    50: '#b46894',
    500: '#8f216a',
    950: '#000000',
  },
}
SCSS
$custom: #8f216a;
$custom-light: #b46894;
$custom-dark: #000000;
JSON
{
  "hex": "#8f216a",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 320.182,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45189,
    "c": 0.16257,
    "h": 345
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#8F216A
secondary
#51BB75
accent
#E67942
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F216A

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

Preview Lab → · Contrast checker → · Palette generator →

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