#8A1B77#8A1B77

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

Color values

HEX#8A1B77
RGBrgb(138, 27, 119)
HSLhsl(310, 67%, 32%)
HSVhsv(310, 80%, 54%)
CMYKcmyk(0%, 80.4%, 13.8%, 45.9%)
CIE-LABlab(32.96, 54.28, -25.66)
CIE-LCHlch(32.96, 60.04, 334.70°)
OKLaboklab(44.53% 0.1596 -0.07)
OKLCHoklch(44.53% 0.174 336.3)
XYZxyz(14.2032, 7.5204, 18.1527)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B77 #1B8A2E
analogous
#651B8A #8A1B77 #8A1B40
triadic
#8A1B77 #778A1B #1B778A
tetradic
#8A1B77 #8A651B #1B8A2E #1B408A
square
#8A1B77 #8A651B #1B8A2E #1B408A
split-complementary
#8A1B77 #408A1B #1B8A65
monochromatic
#24071F #57114B #8A1B77 #BD25A3 #DB45C1

Accessibility & contrast

On white

8.39
#8A1B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B77
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B77#FFFFFF#000000##FFFFFF
##8A1B771.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4379
Deuteranopia (green-blind)
#465374
Tritanopia (blue-blind)
#912448
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1b77;
/* rgb */ color: rgb(138, 27, 119);
/* oklch */ color: oklch(44.5% 0.174 336.3);
Tailwind
colors: {
  custom: {
    50: '#b0669e',
    500: '#8a1b77',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b77;
$custom-light: #b0669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b77",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 310.27,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.17427,
    "h": 336.3
  },
  "luminance": 0.07519
}

Semantic roles & 50–950 ramp

primary
#8A1B77
secondary
#45BC59
accent
#EA5B3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1B77

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

Preview Lab → · Contrast checker → · Palette generator →

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