#8F216D#8F216D

#8F216D is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.164 H 343.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8F216D
RGBrgb(143, 33, 109)
HSLhsl(319, 63%, 35%)
HSVhsv(319, 77%, 56%)
CMYKcmyk(0%, 76.9%, 23.8%, 43.9%)
CIE-LABlab(34.05, 52.24, -17.56)
CIE-LCHlch(34.05, 55.11, 341.42°)
OKLaboklab(45.33% 0.1576 -0.047)
OKLCHoklch(45.33% 0.164 343.4)
XYZxyz(14.6324, 8.0330, 15.2450)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F216D #218F43
analogous
#7A218F #8F216D #8F2136
triadic
#8F216D #6D8F21 #216D8F
tetradic
#8F216D #8F7A21 #218F43 #21368F
square
#8F216D #8F7A21 #218F43 #21368F
split-complementary
#8F216D #368F21 #218F7A
monochromatic
#2C0A21 #5D1647 #8F216D #C12C93 #D753AE

Accessibility & contrast

On white

8.06
#8F216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F216D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F216D#FFFFFF#000000##FFFFFF
##8F216D1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446F
Deuteranopia (green-blind)
#4F576A
Tritanopia (blue-blind)
#992144
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f216d;
/* rgb */ color: rgb(143, 33, 109);
/* oklch */ color: oklch(45.3% 0.164 343.4);
Tailwind
colors: {
  custom: {
    50: '#b46897',
    500: '#8f216d',
    950: '#000000',
  },
}
SCSS
$custom: #8f216d;
$custom-light: #b46897;
$custom-dark: #000000;
JSON
{
  "hex": "#8f216d",
  "rgb": {
    "r": 143,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 318.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.16443,
    "h": 343.4
  },
  "luminance": 0.08031
}

Semantic roles & 50–950 ramp

primary
#8F216D
secondary
#51BB72
accent
#E67542
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #8F216D

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

Preview Lab → · Contrast checker → · Palette generator →

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