#8A156C#8A156C

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

Color values

HEX#8A156C
RGBrgb(138, 21, 108)
HSLhsl(315, 74%, 31%)
HSVhsv(315, 85%, 54%)
CMYKcmyk(0%, 84.8%, 21.7%, 45.9%)
CIE-LABlab(31.86, 54.30, -20.39)
CIE-LCHlch(31.86, 58.00, 339.42°)
OKLaboklab(43.56% 0.1632 -0.0549)
OKLCHoklch(43.56% 0.172 341.4)
XYZxyz(13.4567, 7.0238, 14.8315)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A156C #158A33
analogous
#6D158A #8A156C #8A1531
triadic
#8A156C #6C8A15 #156C8A
tetradic
#8A156C #8A6D15 #158A33 #15318A
square
#8A156C #8A6D15 #158A33 #15318A
split-complementary
#8A156C #318A15 #158A6D
monochromatic
#200519 #550D42 #8A156C #BF1D96 #E139B6

Accessibility & contrast

On white

8.73
#8A156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A156C
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A156C#FFFFFF#000000##FFFFFF
##8A156C1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223F6E
Deuteranopia (green-blind)
#485269
Tritanopia (blue-blind)
#931840
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a156c;
/* rgb */ color: rgb(138, 21, 108);
/* oklch */ color: oklch(43.6% 0.172 341.4);
Tailwind
colors: {
  custom: {
    50: '#b06396',
    500: '#8a156c',
    950: '#000000',
  },
}
SCSS
$custom: #8a156c;
$custom-light: #b06396;
$custom-dark: #000000;
JSON
{
  "hex": "#8a156c",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 315.385,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43556,
    "c": 0.17224,
    "h": 341.4
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#8A156C
secondary
#3DBE5E
accent
#F06738
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A156C

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

Preview Lab → · Contrast checker → · Palette generator →

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