#8B216E#8B216E

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

Color values

HEX#8B216E
RGBrgb(139, 33, 110)
HSLhsl(316, 62%, 34%)
HSVhsv(316, 76%, 55%)
CMYKcmyk(0%, 76.3%, 20.9%, 45.5%)
CIE-LABlab(33.36, 51.35, -19.32)
CIE-LCHlch(33.36, 54.86, 339.38°)
OKLaboklab(44.7% 0.1539 -0.052)
OKLCHoklch(44.7% 0.162 341.3)
XYZxyz(14.0062, 7.7039, 15.4982)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B216E #218B3E
analogous
#73218B #8B216E #8B2139
triadic
#8B216E #6E8B21 #216E8B
tetradic
#8B216E #8B7321 #218B3E #21398B
square
#8B216E #8B7321 #218B3E #21398B
split-complementary
#8B216E #398B21 #218B73
monochromatic
#280A20 #5A1547 #8B216E #BC2D95 #D651B1

Accessibility & contrast

On white

8.27
#8B216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B216E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B216E#FFFFFF#000000##FFFFFF
##8B216E1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4470
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#942345
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b216e;
/* rgb */ color: rgb(139, 33, 110);
/* oklch */ color: oklch(44.7% 0.162 341.3);
Tailwind
colors: {
  custom: {
    50: '#b06897',
    500: '#8b216e',
    950: '#000000',
  },
}
SCSS
$custom: #8b216e;
$custom-light: #b06897;
$custom-dark: #000000;
JSON
{
  "hex": "#8b216e",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 316.415,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44703,
    "c": 0.16241,
    "h": 341.3
  },
  "luminance": 0.07702
}

Semantic roles & 50–950 ramp

primary
#8B216E
secondary
#4FB96C
accent
#E56F43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B216E

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

Preview Lab → · Contrast checker → · Palette generator →

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