#8B1B6A#8B1B6A

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

Color values

HEX#8B1B6A
RGBrgb(139, 27, 106)
HSLhsl(318, 67%, 33%)
HSVhsv(318, 81%, 55%)
CMYKcmyk(0%, 80.6%, 23.7%, 45.5%)
CIE-LABlab(32.51, 52.68, -18.08)
CIE-LCHlch(32.51, 55.69, 341.06°)
OKLaboklab(44.03% 0.159 -0.0484)
OKLCHoklch(44.03% 0.166 343.1)
XYZxyz(13.6414, 7.3149, 14.3264)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B6A #1B8B3C
analogous
#741B8B #8B1B6A #8B1B32
triadic
#8B1B6A #6A8B1B #1B6A8B
tetradic
#8B1B6A #8B741B #1B8B3C #1B328B
square
#8B1B6A #8B741B #1B8B3C #1B328B
split-complementary
#8B1B6A #328B1B #1B8B74
monochromatic
#25071C #581143 #8B1B6A #BE2591 #DB45AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B1B6A#FFFFFF#000000##FFFFFF
##8B1B6A1.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)
#28416C
Deuteranopia (green-blind)
#4C5368
Tritanopia (blue-blind)
#941B41
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8b1b6a;
/* rgb */ color: rgb(139, 27, 106);
/* oklch */ color: oklch(44.0% 0.166 343.1);
Tailwind
colors: {
  custom: {
    50: '#b16594',
    500: '#8b1b6a',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b6a;
$custom-light: #b16594;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b6a",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 317.679,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44031,
    "c": 0.16619,
    "h": 343.1
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#8B1B6A
secondary
#45BC68
accent
#EA703D
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8B1B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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