#8B1B73#8B1B73

#8B1B73 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.172 H 338.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8B1B73
RGBrgb(139, 27, 115)
HSLhsl(313, 67%, 33%)
HSVhsv(313, 81%, 55%)
CMYKcmyk(0%, 80.6%, 17.3%, 45.5%)
CIE-LABlab(32.95, 53.93, -23.14)
CIE-LCHlch(32.95, 58.68, 336.78°)
OKLaboklab(44.48% 0.1602 -0.0628)
OKLCHoklch(44.48% 0.172 338.6)
XYZxyz(14.1343, 7.5120, 16.9219)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B73 #1B8B33
analogous
#6B1B8B #8B1B73 #8B1B3B
triadic
#8B1B73 #738B1B #1B738B
tetradic
#8B1B73 #8B6B1B #1B8B33 #1B3B8B
square
#8B1B73 #8B6B1B #1B8B33 #1B3B8B
split-complementary
#8B1B73 #3B8B1B #1B8B6B
monochromatic
#25071E #581149 #8B1B73 #BE259D #DB45BB

Accessibility & contrast

On white

8.39
#8B1B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8B1B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B73
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B73#FFFFFF#000000##FFFFFF
##8B1B731.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224275
Deuteranopia (green-blind)
#485470
Tritanopia (blue-blind)
#932146
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1b73;
/* rgb */ color: rgb(139, 27, 115);
/* oklch */ color: oklch(44.5% 0.172 338.6);
Tailwind
colors: {
  custom: {
    50: '#b1669b',
    500: '#8b1b73',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b73;
$custom-light: #b1669b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b73",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 312.857,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44483,
    "c": 0.17208,
    "h": 338.6
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#8B1B73
secondary
#45BC5F
accent
#EA623D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1B73

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

Preview Lab → · Contrast checker → · Palette generator →

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