#8A216E#8A216E

#8A216E is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.162 H 340.9°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8A216E
RGBrgb(138, 33, 110)
HSLhsl(316, 61%, 34%)
HSVhsv(316, 76%, 54%)
CMYKcmyk(0%, 76.1%, 20.3%, 45.9%)
CIE-LABlab(33.17, 51.09, -19.62)
CIE-LCHlch(33.17, 54.73, 338.99°)
OKLaboklab(44.54% 0.1529 -0.0529)
OKLCHoklch(44.54% 0.162 340.9)
XYZxyz(13.8400, 7.6182, 15.4904)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A216E #218A3D
analogous
#71218A #8A216E #8A2139
triadic
#8A216E #6E8A21 #216E8A
tetradic
#8A216E #8A7121 #218A3D #21398A
square
#8A216E #8A7121 #218A3D #21398A
split-complementary
#8A216E #398A21 #218A71
monochromatic
#27091F #591547 #8A216E #BB2D95 #D550B2

Accessibility & contrast

On white

8.32
#8A216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8A216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A216E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A216E#FFFFFF#000000##FFFFFF
##8A216E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4370
Deuteranopia (green-blind)
#4B546C
Tritanopia (blue-blind)
#932445
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a216e;
/* rgb */ color: rgb(138, 33, 110);
/* oklch */ color: oklch(44.5% 0.162 340.9);
Tailwind
colors: {
  custom: {
    50: '#b06897',
    500: '#8a216e',
    950: '#000000',
  },
}
SCSS
$custom: #8a216e;
$custom-light: #b06897;
$custom-dark: #000000;
JSON
{
  "hex": "#8a216e",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 316,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44535,
    "c": 0.16175,
    "h": 340.9
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#8A216E
secondary
#4EB96B
accent
#E56E43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A216E

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

Preview Lab → · Contrast checker → · Palette generator →

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