#8B1B72#8B1B72

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

Color values

HEX#8B1B72
RGBrgb(139, 27, 114)
HSLhsl(313, 67%, 33%)
HSVhsv(313, 81%, 55%)
CMYKcmyk(0%, 80.6%, 18%, 45.5%)
CIE-LABlab(32.90, 53.79, -22.58)
CIE-LCHlch(32.90, 58.33, 337.22°)
OKLaboklab(44.43% 0.1601 -0.0612)
OKLCHoklch(44.43% 0.171 339.1)
XYZxyz(14.0770, 7.4891, 16.6205)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B72 #1B8B34
analogous
#6C1B8B #8B1B72 #8B1B3A
triadic
#8B1B72 #728B1B #1B728B
tetradic
#8B1B72 #8B6C1B #1B8B34 #1B3A8B
square
#8B1B72 #8B6C1B #1B8B34 #1B3A8B
split-complementary
#8B1B72 #3A8B1B #1B8B6C
monochromatic
#25071E #581148 #8B1B72 #BE259C #DB45BA

Accessibility & contrast

On white

8.41
#8B1B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1B72
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B72#FFFFFF#000000##FFFFFF
##8B1B721.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#932045
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1b72;
/* rgb */ color: rgb(139, 27, 114);
/* oklch */ color: oklch(44.4% 0.171 339.1);
Tailwind
colors: {
  custom: {
    50: '#b1669b',
    500: '#8b1b72',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b72;
$custom-light: #b1669b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b72",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 313.393,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44431,
    "c": 0.1714,
    "h": 339.1
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#8B1B72
secondary
#45BC60
accent
#EA643D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1B72

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

Preview Lab → · Contrast checker → · Palette generator →

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