#8A1B6D#8A1B6D

#8A1B6D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.167 H 341.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8A1B6D
RGBrgb(138, 27, 109)
HSLhsl(316, 67%, 32%)
HSVhsv(316, 80%, 54%)
CMYKcmyk(0%, 80.4%, 21%, 45.9%)
CIE-LABlab(32.46, 52.84, -20.09)
CIE-LCHlch(32.46, 56.53, 339.18°)
OKLaboklab(44.01% 0.1585 -0.0541)
OKLCHoklch(44.01% 0.167 341.1)
XYZxyz(13.6339, 7.2927, 15.1546)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B6D #1B8A38
analogous
#701B8A #8A1B6D #8A1B35
triadic
#8A1B6D #6D8A1B #1B6D8A
tetradic
#8A1B6D #8A701B #1B8A38 #1B358A
square
#8A1B6D #8A701B #1B8A38 #1B358A
split-complementary
#8A1B6D #358A1B #1B8A70
monochromatic
#24071C #571145 #8A1B6D #BD2595 #DB45B3

Accessibility & contrast

On white

8.54
#8A1B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B6D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B6D#FFFFFF#000000##FFFFFF
##8A1B6D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25416F
Deuteranopia (green-blind)
#4A536B
Tritanopia (blue-blind)
#931E42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1b6d;
/* rgb */ color: rgb(138, 27, 109);
/* oklch */ color: oklch(44.0% 0.167 341.1);
Tailwind
colors: {
  custom: {
    50: '#b06597',
    500: '#8a1b6d',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b6d;
$custom-light: #b06597;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b6d",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 315.676,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44006,
    "c": 0.16748,
    "h": 341.1
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#8A1B6D
secondary
#45BC64
accent
#EA6B3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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