#8B1B71#8B1B71

#8B1B71 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.171 H 339.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8B1B71
RGBrgb(139, 27, 113)
HSLhsl(314, 67%, 33%)
HSVhsv(314, 81%, 55%)
CMYKcmyk(0%, 80.6%, 18.7%, 45.5%)
CIE-LABlab(32.85, 53.64, -22.03)
CIE-LCHlch(32.85, 57.99, 337.68°)
OKLaboklab(44.38% 0.16 -0.0596)
OKLCHoklch(44.38% 0.171 339.6)
XYZxyz(14.0204, 7.4665, 16.3224)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B71 #1B8B35
analogous
#6D1B8B #8B1B71 #8B1B39
triadic
#8B1B71 #718B1B #1B718B
tetradic
#8B1B71 #8B6D1B #1B8B35 #1B398B
square
#8B1B71 #8B6D1B #1B8B35 #1B398B
split-complementary
#8B1B71 #398B1B #1B8B6D
monochromatic
#25071E #581147 #8B1B71 #BE259B #DB45B8

Accessibility & contrast

On white

8.42
#8B1B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8B1B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B71
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B71#FFFFFF#000000##FFFFFF
##8B1B711.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#49536E
Tritanopia (blue-blind)
#932045
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1b71;
/* rgb */ color: rgb(139, 27, 113);
/* oklch */ color: oklch(44.4% 0.171 339.6);
Tailwind
colors: {
  custom: {
    50: '#b1669a',
    500: '#8b1b71',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b71;
$custom-light: #b1669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b71",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 313.929,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4438,
    "c": 0.17072,
    "h": 339.6
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#8B1B71
secondary
#45BC61
accent
#EA663D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1B71

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

Preview Lab → · Contrast checker → · Palette generator →

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