#8D216C#8D216C

#8D216C is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.162 H 343.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8D216C
RGBrgb(141, 33, 108)
HSLhsl(318, 62%, 34%)
HSVhsv(318, 77%, 55%)
CMYKcmyk(0%, 76.6%, 23.4%, 44.7%)
CIE-LABlab(33.64, 51.58, -17.59)
CIE-LCHlch(33.64, 54.50, 341.17°)
OKLaboklab(44.94% 0.1555 -0.0471)
OKLCHoklch(44.94% 0.162 343.1)
XYZxyz(14.2357, 7.8346, 14.9470)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D216C #218D42
analogous
#78218D #8D216C #8D2136
triadic
#8D216C #6C8D21 #216C8D
tetradic
#8D216C #8D7821 #218D42 #21368D
square
#8D216C #8D7821 #218D42 #21368D
split-complementary
#8D216C #368D21 #218D78
monochromatic
#2A0A20 #5B1546 #8D216C #BF2D92 #D652AE

Accessibility & contrast

On white

8.18
#8D216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D216C
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D216C#FFFFFF#000000##FFFFFF
##8D216C1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446E
Deuteranopia (green-blind)
#4E556A
Tritanopia (blue-blind)
#962144
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d216c;
/* rgb */ color: rgb(141, 33, 108);
/* oklch */ color: oklch(44.9% 0.162 343.1);
Tailwind
colors: {
  custom: {
    50: '#b26896',
    500: '#8d216c',
    950: '#000000',
  },
}
SCSS
$custom: #8d216c;
$custom-light: #b26896;
$custom-dark: #000000;
JSON
{
  "hex": "#8d216c",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 318.333,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.16245,
    "h": 343.1
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#8D216C
secondary
#50BA70
accent
#E57443
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D216C

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

Preview Lab → · Contrast checker → · Palette generator →

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