#8A216A#8A216A

#8A216A is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.159 H 343.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8A216A
RGBrgb(138, 33, 106)
HSLhsl(318, 61%, 34%)
HSVhsv(318, 76%, 54%)
CMYKcmyk(0%, 76.1%, 23.2%, 45.9%)
CIE-LABlab(32.99, 50.53, -17.36)
CIE-LCHlch(32.99, 53.42, 341.04°)
OKLaboklab(44.34% 0.1522 -0.0465)
OKLCHoklch(44.34% 0.159 343)
XYZxyz(13.6271, 7.5330, 14.3692)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A216A #218A41
analogous
#75218A #8A216A #8A2135
triadic
#8A216A #6A8A21 #216A8A
tetradic
#8A216A #8A7521 #218A41 #21358A
square
#8A216A #8A7521 #218A41 #21358A
split-complementary
#8A216A #358A21 #218A75
monochromatic
#27091E #591544 #8A216A #BB2D90 #D550AD

Accessibility & contrast

On white

8.38
#8A216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A216A
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A216A#FFFFFF#000000##FFFFFF
##8A216A1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C436C
Deuteranopia (green-blind)
#4D5468
Tritanopia (blue-blind)
#932143
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a216a;
/* rgb */ color: rgb(138, 33, 106);
/* oklch */ color: oklch(44.3% 0.159 343.0);
Tailwind
colors: {
  custom: {
    50: '#b06794',
    500: '#8a216a',
    950: '#000000',
  },
}
SCSS
$custom: #8a216a;
$custom-light: #b06794;
$custom-dark: #000000;
JSON
{
  "hex": "#8a216a",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 318.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.15912,
    "h": 343
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A216A

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

Preview Lab → · Contrast checker → · Palette generator →

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