#8D216D#8D216D

#8D216D is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.163 H 342.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8D216D
RGBrgb(141, 33, 109)
HSLhsl(318, 62%, 34%)
HSVhsv(318, 77%, 55%)
CMYKcmyk(0%, 76.6%, 22.7%, 44.7%)
CIE-LABlab(33.68, 51.72, -18.16)
CIE-LCHlch(33.68, 54.82, 340.65°)
OKLaboklab(44.99% 0.1557 -0.0487)
OKLCHoklch(44.99% 0.163 342.6)
XYZxyz(14.2892, 7.8560, 15.2289)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D216D #218D41
analogous
#77218D #8D216D #8D2137
triadic
#8D216D #6D8D21 #216D8D
tetradic
#8D216D #8D7721 #218D41 #21378D
square
#8D216D #8D7721 #218D41 #21378D
split-complementary
#8D216D #378D21 #218D77
monochromatic
#2A0A20 #5B1547 #8D216D #BF2D93 #D652AF

Accessibility & contrast

On white

8.17
#8D216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8D216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D216D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D216D#FFFFFF#000000##FFFFFF
##8D216D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C446F
Deuteranopia (green-blind)
#4E566B
Tritanopia (blue-blind)
#962244
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d216d;
/* rgb */ color: rgb(141, 33, 109);
/* oklch */ color: oklch(45.0% 0.163 342.6);
Tailwind
colors: {
  custom: {
    50: '#b26897',
    500: '#8d216d',
    950: '#000000',
  },
}
SCSS
$custom: #8d216d;
$custom-light: #b26897;
$custom-dark: #000000;
JSON
{
  "hex": "#8d216d",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 317.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44991,
    "c": 0.16308,
    "h": 342.6
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#8D216D
secondary
#50BA6F
accent
#E57343
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D216D

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

Preview Lab → · Contrast checker → · Palette generator →

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