#8B216B#8B216B

#8B216B is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.6% C 0.160 H 342.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8B216B
RGBrgb(139, 33, 107)
HSLhsl(318, 62%, 34%)
HSVhsv(318, 76%, 55%)
CMYKcmyk(0%, 76.3%, 23%, 45.5%)
CIE-LABlab(33.22, 50.93, -17.63)
CIE-LCHlch(33.22, 53.89, 340.91°)
OKLaboklab(44.56% 0.1533 -0.0472)
OKLCHoklch(44.56% 0.16 342.9)
XYZxyz(13.8457, 7.6397, 14.6525)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B216B #218B41
analogous
#76218B #8B216B #8B2136
triadic
#8B216B #6B8B21 #216B8B
tetradic
#8B216B #8B7621 #218B41 #21368B
square
#8B216B #8B7621 #218B41 #21368B
split-complementary
#8B216B #368B21 #218B76
monochromatic
#280A1F #5A1545 #8B216B #BC2D91 #D651AE

Accessibility & contrast

On white

8.31
#8B216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B216B
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B216B#FFFFFF#000000##FFFFFF
##8B216B1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436D
Deuteranopia (green-blind)
#4D5469
Tritanopia (blue-blind)
#942243
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b216b;
/* rgb */ color: rgb(139, 33, 107);
/* oklch */ color: oklch(44.6% 0.160 342.9);
Tailwind
colors: {
  custom: {
    50: '#b16895',
    500: '#8b216b',
    950: '#000000',
  },
}
SCSS
$custom: #8b216b;
$custom-light: #b16895;
$custom-dark: #000000;
JSON
{
  "hex": "#8b216b",
  "rgb": {
    "r": 139,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 318.113,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.16045,
    "h": 342.9
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#8B216B
secondary
#4FB96F
accent
#E57443
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B216B

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

Preview Lab → · Contrast checker → · Palette generator →

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