#8A146D#8A146D

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

Color values

HEX#8A146D
RGBrgb(138, 20, 109)
HSLhsl(315, 75%, 31%)
HSVhsv(315, 86%, 54%)
CMYKcmyk(0%, 85.5%, 21%, 45.9%)
CIE-LABlab(31.83, 54.67, -21.08)
CIE-LCHlch(31.83, 58.60, 338.92°)
OKLaboklab(43.55% 0.1641 -0.0569)
OKLCHoklch(43.55% 0.174 340.9)
XYZxyz(13.4922, 7.0091, 15.1074)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A146D #148A31
analogous
#6C148A #8A146D #8A1432
triadic
#8A146D #6D8A14 #146D8A
tetradic
#8A146D #8A6C14 #148A31 #14328A
square
#8A146D #8A6C14 #148A31 #14328A
split-complementary
#8A146D #328A14 #148A6C
monochromatic
#1F0519 #550C43 #8A146D #BF1C97 #E236B8

Accessibility & contrast

On white

8.74
#8A146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A146D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A146D#FFFFFF#000000##FFFFFF
##8A146D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#48516A
Tritanopia (blue-blind)
#931841
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a146d;
/* rgb */ color: rgb(138, 20, 109);
/* oklch */ color: oklch(43.5% 0.174 340.9);
Tailwind
colors: {
  custom: {
    50: '#b06397',
    500: '#8a146d',
    950: '#000000',
  },
}
SCSS
$custom: #8a146d;
$custom-light: #b06397;
$custom-dark: #000000;
JSON
{
  "hex": "#8a146d",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 314.746,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43548,
    "c": 0.17367,
    "h": 340.9
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#8A146D
secondary
#3CBE5C
accent
#F16436
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A146D

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

Preview Lab → · Contrast checker → · Palette generator →

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