#8A216F#8A216F

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

Color values

HEX#8A216F
RGBrgb(138, 33, 111)
HSLhsl(315, 61%, 34%)
HSVhsv(315, 76%, 54%)
CMYKcmyk(0%, 76.1%, 19.6%, 45.9%)
CIE-LABlab(33.22, 51.23, -20.19)
CIE-LCHlch(33.22, 55.06, 338.49°)
OKLaboklab(44.59% 0.153 -0.0544)
OKLCHoklch(44.59% 0.162 340.4)
XYZxyz(13.8947, 7.6401, 15.7788)
Luminance0.0764 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A216F #218A3C
analogous
#70218A #8A216F #8A213A
triadic
#8A216F #6F8A21 #216F8A
tetradic
#8A216F #8A7021 #218A3C #213A8A
square
#8A216F #8A7021 #218A3C #213A8A
split-complementary
#8A216F #3A8A21 #218A70
monochromatic
#270920 #591547 #8A216F #BB2D97 #D550B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A216F#FFFFFF#000000##FFFFFF
##8A216F1.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)
#294371
Deuteranopia (green-blind)
#4B546D
Tritanopia (blue-blind)
#922445
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a216f;
/* rgb */ color: rgb(138, 33, 111);
/* oklch */ color: oklch(44.6% 0.162 340.4);
Tailwind
colors: {
  custom: {
    50: '#b06898',
    500: '#8a216f',
    950: '#000000',
  },
}
SCSS
$custom: #8a216f;
$custom-light: #b06898;
$custom-dark: #000000;
JSON
{
  "hex": "#8a216f",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 315.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.16242,
    "h": 340.4
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#8A216F
secondary
#4EB96A
accent
#E56D43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8A216F

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

Preview Lab → · Contrast checker → · Palette generator →

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