#8A216B#8A216B

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

Color values

HEX#8A216B
RGBrgb(138, 33, 107)
HSLhsl(318, 61%, 34%)
HSVhsv(318, 76%, 54%)
CMYKcmyk(0%, 76.1%, 22.5%, 45.9%)
CIE-LABlab(33.04, 50.66, -17.93)
CIE-LCHlch(33.04, 53.74, 340.51°)
OKLaboklab(44.39% 0.1524 -0.0481)
OKLCHoklch(44.39% 0.16 342.5)
XYZxyz(13.6794, 7.5539, 14.6447)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A216B #218A40
analogous
#74218A #8A216B #8A2136
triadic
#8A216B #6B8A21 #216B8A
tetradic
#8A216B #8A7421 #218A40 #21368A
square
#8A216B #8A7421 #218A40 #21368A
split-complementary
#8A216B #368A21 #218A74
monochromatic
#27091E #591545 #8A216B #BB2D91 #D550AE

Accessibility & contrast

On white

8.36
#8A216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A216B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A216B#FFFFFF#000000##FFFFFF
##8A216B1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436D
Deuteranopia (green-blind)
#4C5469
Tritanopia (blue-blind)
#932243
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a216b;
/* rgb */ color: rgb(138, 33, 107);
/* oklch */ color: oklch(44.4% 0.160 342.5);
Tailwind
colors: {
  custom: {
    50: '#b06795',
    500: '#8a216b',
    950: '#000000',
  },
}
SCSS
$custom: #8a216b;
$custom-light: #b06795;
$custom-dark: #000000;
JSON
{
  "hex": "#8a216b",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 317.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4439,
    "c": 0.15976,
    "h": 342.5
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#8A216B
secondary
#4EB96E
accent
#E57343
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A216B

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

Preview Lab → · Contrast checker → · Palette generator →

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