#8B1A6C#8B1A6C

#8B1A6C is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.168 H 342.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#8B1A6C
RGBrgb(139, 26, 108)
HSLhsl(316, 68%, 32%)
HSVhsv(316, 81%, 55%)
CMYKcmyk(0%, 81.3%, 22.3%, 45.5%)
CIE-LABlab(32.51, 53.23, -19.37)
CIE-LCHlch(32.51, 56.65, 340.01°)
OKLaboklab(44.06% 0.1602 -0.0521)
OKLCHoklch(44.06% 0.168 342)
XYZxyz(13.7241, 7.3119, 14.8730)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A6C #1A8B39
analogous
#711A8B #8B1A6C #8B1A34
triadic
#8B1A6C #6C8B1A #1A6C8B
tetradic
#8B1A6C #8B711A #1A8B39 #1A348B
square
#8B1A6C #8B711A #1A8B39 #1A348B
split-complementary
#8B1A6C #348B1A #1A8B71
monochromatic
#24071C #571044 #8B1A6C #BF2494 #DC43B2

Accessibility & contrast

On white

8.53
#8B1A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1A6C
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A6C#FFFFFF#000000##FFFFFF
##8B1A6C1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#941C42
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b1a6c;
/* rgb */ color: rgb(139, 26, 108);
/* oklch */ color: oklch(44.1% 0.168 342.0);
Tailwind
colors: {
  custom: {
    50: '#b16596',
    500: '#8b1a6c',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a6c;
$custom-light: #b16596;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a6c",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 316.46,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.16841,
    "h": 342
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#8B1A6C
secondary
#44BD65
accent
#EB6C3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8B1A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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