#8A1B6C#8A1B6C

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

Color values

HEX#8A1B6C
RGBrgb(138, 27, 108)
HSLhsl(316, 67%, 32%)
HSVhsv(316, 80%, 54%)
CMYKcmyk(0%, 80.4%, 21.7%, 45.9%)
CIE-LABlab(32.42, 52.70, -19.52)
CIE-LCHlch(32.42, 56.20, 339.67°)
OKLaboklab(43.96% 0.1583 -0.0525)
OKLCHoklch(43.96% 0.167 341.6)
XYZxyz(13.5804, 7.2713, 14.8728)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B6C #1B8A39
analogous
#701B8A #8A1B6C #8A1B35
triadic
#8A1B6C #6C8A1B #1B6C8A
tetradic
#8A1B6C #8A701B #1B8A39 #1B358A
square
#8A1B6C #8A701B #1B8A39 #1B358A
split-complementary
#8A1B6C #358A1B #1B8A70
monochromatic
#24071C #571144 #8A1B6C #BD2594 #DB45B2

Accessibility & contrast

On white

8.56
#8A1B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A1B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B6C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B6C#FFFFFF#000000##FFFFFF
##8A1B6C1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#4A536A
Tritanopia (blue-blind)
#931D42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1b6c;
/* rgb */ color: rgb(138, 27, 108);
/* oklch */ color: oklch(44.0% 0.167 341.6);
Tailwind
colors: {
  custom: {
    50: '#b06596',
    500: '#8a1b6c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b6c;
$custom-light: #b06596;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b6c",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 108
  },
  "hsl": {
    "h": 316.216,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.16683,
    "h": 341.6
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#8A1B6C
secondary
#45BC65
accent
#EA6C3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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