#8A156F#8A156F

#8A156F is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.7% C 0.174 H 339.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8A156F
RGBrgb(138, 21, 111)
HSLhsl(314, 74%, 31%)
HSVhsv(314, 85%, 54%)
CMYKcmyk(0%, 84.8%, 19.6%, 45.9%)
CIE-LABlab(32.01, 54.71, -22.07)
CIE-LCHlch(32.01, 59.00, 338.03°)
OKLaboklab(43.71% 0.1636 -0.0597)
OKLCHoklch(43.71% 0.174 339.9)
XYZxyz(13.6191, 7.0887, 15.6869)
Luminance0.0709 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A156F #158A30
analogous
#6A158A #8A156F #8A1534
triadic
#8A156F #6F8A15 #156F8A
tetradic
#8A156F #8A6A15 #158A30 #15348A
square
#8A156F #8A6A15 #158A30 #15348A
split-complementary
#8A156F #348A15 #158A6A
monochromatic
#20051A #550D44 #8A156F #BF1D9A #E139BA

Accessibility & contrast

On white

8.69
#8A156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A156F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A156F#FFFFFF#000000##FFFFFF
##8A156F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4071
Deuteranopia (green-blind)
#47526C
Tritanopia (blue-blind)
#931A42
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a156f;
/* rgb */ color: rgb(138, 21, 111);
/* oklch */ color: oklch(43.7% 0.174 339.9);
Tailwind
colors: {
  custom: {
    50: '#b06398',
    500: '#8a156f',
    950: '#000000',
  },
}
SCSS
$custom: #8a156f;
$custom-light: #b06398;
$custom-dark: #000000;
JSON
{
  "hex": "#8a156f",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 313.846,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.17416,
    "h": 339.9
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#8A156F
secondary
#3DBE5B
accent
#F06238
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A156F

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

Preview Lab → · Contrast checker → · Palette generator →

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