#8D216E#8D216E

#8D216E is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.164 H 342.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8D216E
RGBrgb(141, 33, 110)
HSLhsl(317, 62%, 34%)
HSVhsv(317, 77%, 55%)
CMYKcmyk(0%, 76.6%, 22%, 44.7%)
CIE-LABlab(33.73, 51.86, -18.72)
CIE-LCHlch(33.73, 55.14, 340.15°)
OKLaboklab(45.04% 0.1558 -0.0503)
OKLCHoklch(45.04% 0.164 342.1)
XYZxyz(14.3433, 7.8777, 15.5140)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D216E #218D40
analogous
#76218D #8D216E #8D2138
triadic
#8D216E #6E8D21 #216E8D
tetradic
#8D216E #8D7621 #218D40 #21388D
square
#8D216E #8D7621 #218D40 #21388D
split-complementary
#8D216E #388D21 #218D76
monochromatic
#2A0A21 #5B1547 #8D216E #BF2D95 #D652B0

Accessibility & contrast

On white

8.15
#8D216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D216E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D216E#FFFFFF#000000##FFFFFF
##8D216E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4470
Deuteranopia (green-blind)
#4E566C
Tritanopia (blue-blind)
#962245
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d216e;
/* rgb */ color: rgb(141, 33, 110);
/* oklch */ color: oklch(45.0% 0.164 342.1);
Tailwind
colors: {
  custom: {
    50: '#b26897',
    500: '#8d216e',
    950: '#000000',
  },
}
SCSS
$custom: #8d216e;
$custom-light: #b26897;
$custom-dark: #000000;
JSON
{
  "hex": "#8d216e",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 317.222,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45039,
    "c": 0.16373,
    "h": 342.1
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#8D216E
secondary
#50BA6E
accent
#E57143
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D216E

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

Preview Lab → · Contrast checker → · Palette generator →

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