#8B216D#8B216D

#8B216D is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.162 H 341.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8B216D
RGBrgb(139, 33, 109)
HSLhsl(317, 62%, 34%)
HSVhsv(317, 76%, 55%)
CMYKcmyk(0%, 76.3%, 21.6%, 45.5%)
CIE-LABlab(33.31, 51.20, -18.76)
CIE-LCHlch(33.31, 54.53, 339.88°)
OKLaboklab(44.65% 0.1537 -0.0504)
OKLCHoklch(44.65% 0.162 341.8)
XYZxyz(13.9521, 7.6822, 15.2131)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B216D #218B3F
analogous
#74218B #8B216D #8B2138
triadic
#8B216D #6D8B21 #216D8B
tetradic
#8B216D #8B7421 #218B3F #21388B
square
#8B216D #8B7421 #218B3F #21388B
split-complementary
#8B216D #388B21 #218B74
monochromatic
#280A1F #5A1546 #8B216D #BC2D94 #D651B0

Accessibility & contrast

On white

8.28
#8B216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8B216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B216D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B216D#FFFFFF#000000##FFFFFF
##8B216D1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436F
Deuteranopia (green-blind)
#4C556B
Tritanopia (blue-blind)
#942344
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b216d;
/* rgb */ color: rgb(139, 33, 109);
/* oklch */ color: oklch(44.7% 0.162 341.8);
Tailwind
colors: {
  custom: {
    50: '#b06897',
    500: '#8b216d',
    950: '#000000',
  },
}
SCSS
$custom: #8b216d;
$custom-light: #b06897;
$custom-dark: #000000;
JSON
{
  "hex": "#8b216d",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 316.981,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44654,
    "c": 0.16174,
    "h": 341.8
  },
  "luminance": 0.07681
}

Semantic roles & 50–950 ramp

primary
#8B216D
secondary
#4FB96D
accent
#E57143
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B216D

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

Preview Lab → · Contrast checker → · Palette generator →

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