#8A1B76#8A1B76

#8A1B76 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.174 H 336.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8A1B76
RGBrgb(138, 27, 118)
HSLhsl(311, 67%, 32%)
HSVhsv(311, 80%, 54%)
CMYKcmyk(0%, 80.4%, 14.5%, 45.9%)
CIE-LABlab(32.91, 54.13, -25.11)
CIE-LCHlch(32.91, 59.67, 335.12°)
OKLaboklab(44.47% 0.1595 -0.0684)
OKLCHoklch(44.47% 0.174 336.8)
XYZxyz(14.1435, 7.4965, 17.8381)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B76 #1B8A2F
analogous
#671B8A #8A1B76 #8A1B3E
triadic
#8A1B76 #768A1B #1B768A
tetradic
#8A1B76 #8A671B #1B8A2F #1B3E8A
square
#8A1B76 #8A671B #1B8A2F #1B3E8A
split-complementary
#8A1B76 #3E8A1B #1B8A67
monochromatic
#24071E #57114A #8A1B76 #BD25A2 #DB45C0

Accessibility & contrast

On white

8.40
#8A1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A1B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B76
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B76#FFFFFF#000000##FFFFFF
##8A1B761.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4378
Deuteranopia (green-blind)
#465373
Tritanopia (blue-blind)
#922347
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1b76;
/* rgb */ color: rgb(138, 27, 118);
/* oklch */ color: oklch(44.5% 0.174 336.8);
Tailwind
colors: {
  custom: {
    50: '#b0669e',
    500: '#8a1b76',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b76;
$custom-light: #b0669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b76",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 310.811,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44474,
    "c": 0.17356,
    "h": 336.8
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#8A1B76
secondary
#45BC5A
accent
#EA5D3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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