#8F216F#8F216F

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

Color values

HEX#8F216F
RGBrgb(143, 33, 111)
HSLhsl(317, 63%, 35%)
HSVhsv(317, 77%, 56%)
CMYKcmyk(0%, 76.9%, 22.4%, 43.9%)
CIE-LABlab(34.14, 52.51, -18.69)
CIE-LCHlch(34.14, 55.74, 340.41°)
OKLaboklab(45.42% 0.1579 -0.0501)
OKLCHoklch(45.42% 0.166 342.4)
XYZxyz(14.7413, 8.0766, 15.8184)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F216F #218F41
analogous
#78218F #8F216F #8F2138
triadic
#8F216F #6F8F21 #216F8F
tetradic
#8F216F #8F7821 #218F41 #21388F
square
#8F216F #8F7821 #218F41 #21388F
split-complementary
#8F216F #388F21 #218F78
monochromatic
#2C0A22 #5D1648 #8F216F #C12C96 #D753B1

Accessibility & contrast

On white

8.03
#8F216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F216F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F216F#FFFFFF#000000##FFFFFF
##8F216F1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f216f;
/* rgb */ color: rgb(143, 33, 111);
/* oklch */ color: oklch(45.4% 0.166 342.4);
Tailwind
colors: {
  custom: {
    50: '#b46898',
    500: '#8f216f',
    950: '#000000',
  },
}
SCSS
$custom: #8f216f;
$custom-light: #b46898;
$custom-dark: #000000;
JSON
{
  "hex": "#8f216f",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 317.455,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.16571,
    "h": 342.4
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#8F216F
secondary
#51BB70
accent
#E67242
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F216F

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

Preview Lab → · Contrast checker → · Palette generator →

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