#8A156D#8A156D

#8A156D is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.6% C 0.173 H 340.9°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8A156D
RGBrgb(138, 21, 109)
HSLhsl(315, 74%, 31%)
HSVhsv(315, 85%, 54%)
CMYKcmyk(0%, 84.8%, 21%, 45.9%)
CIE-LABlab(31.91, 54.44, -20.95)
CIE-LCHlch(31.91, 58.33, 338.95°)
OKLaboklab(43.61% 0.1634 -0.0565)
OKLCHoklch(43.61% 0.173 340.9)
XYZxyz(13.5102, 7.0452, 15.1134)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A156D #158A32
analogous
#6C158A #8A156D #8A1532
triadic
#8A156D #6D8A15 #156D8A
tetradic
#8A156D #8A6C15 #158A32 #15328A
square
#8A156D #8A6C15 #158A32 #15328A
split-complementary
#8A156D #328A15 #158A6C
monochromatic
#200519 #550D43 #8A156D #BF1D97 #E139B7

Accessibility & contrast

On white

8.72
#8A156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A156D
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A156D#FFFFFF#000000##FFFFFF
##8A156D1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213F6F
Deuteranopia (green-blind)
#48526A
Tritanopia (blue-blind)
#931941
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a156d;
/* rgb */ color: rgb(138, 21, 109);
/* oklch */ color: oklch(43.6% 0.173 340.9);
Tailwind
colors: {
  custom: {
    50: '#b06397',
    500: '#8a156d',
    950: '#000000',
  },
}
SCSS
$custom: #8a156d;
$custom-light: #b06397;
$custom-dark: #000000;
JSON
{
  "hex": "#8a156d",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 314.872,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43607,
    "c": 0.17288,
    "h": 340.9
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#8A156D
secondary
#3DBE5D
accent
#F06538
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A156D

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

Preview Lab → · Contrast checker → · Palette generator →

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