#8A216D#8A216D

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

Color values

HEX#8A216D
RGBrgb(138, 33, 109)
HSLhsl(317, 61%, 34%)
HSVhsv(317, 76%, 54%)
CMYKcmyk(0%, 76.1%, 21%, 45.9%)
CIE-LABlab(33.13, 50.95, -19.06)
CIE-LCHlch(33.13, 54.39, 339.49°)
OKLaboklab(44.49% 0.1527 -0.0513)
OKLCHoklch(44.49% 0.161 341.4)
XYZxyz(13.7858, 7.5965, 15.2053)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A216D #218A3E
analogous
#72218A #8A216D #8A2138
triadic
#8A216D #6D8A21 #216D8A
tetradic
#8A216D #8A7221 #218A3E #21388A
square
#8A216D #8A7221 #218A3E #21388A
split-complementary
#8A216D #388A21 #218A72
monochromatic
#27091F #591546 #8A216D #BB2D94 #D550B0

Accessibility & contrast

On white

8.34
#8A216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A216D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A216D#FFFFFF#000000##FFFFFF
##8A216D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A436F
Deuteranopia (green-blind)
#4C546B
Tritanopia (blue-blind)
#932344
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a216d;
/* rgb */ color: rgb(138, 33, 109);
/* oklch */ color: oklch(44.5% 0.161 341.4);
Tailwind
colors: {
  custom: {
    50: '#b06797',
    500: '#8a216d',
    950: '#000000',
  },
}
SCSS
$custom: #8a216d;
$custom-light: #b06797;
$custom-dark: #000000;
JSON
{
  "hex": "#8a216d",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 316.571,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44486,
    "c": 0.16108,
    "h": 341.4
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#8A216D
secondary
#4EB96C
accent
#E57043
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A216D

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

Preview Lab → · Contrast checker → · Palette generator →

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