#8B1A72#8B1A72

#8B1A72 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.172 H 339.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8B1A72
RGBrgb(139, 26, 114)
HSLhsl(313, 68%, 32%)
HSVhsv(313, 81%, 55%)
CMYKcmyk(0%, 81.3%, 18%, 45.5%)
CIE-LABlab(32.80, 54.07, -22.74)
CIE-LCHlch(32.80, 58.65, 337.19°)
OKLaboklab(44.36% 0.161 -0.0616)
OKLCHoklch(44.36% 0.172 339)
XYZxyz(14.0545, 7.4441, 16.6130)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A72 #1A8B33
analogous
#6B1A8B #8B1A72 #8B1A3A
triadic
#8B1A72 #728B1A #1A728B
tetradic
#8B1A72 #8B6B1A #1A8B33 #1A3A8B
square
#8B1A72 #8B6B1A #1A8B33 #1A3A8B
split-complementary
#8B1A72 #3A8B1A #1A8B6B
monochromatic
#24071D #571048 #8B1A72 #BF249C #DC43BA

Accessibility & contrast

On white

8.44
#8B1A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B1A72
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1A72#FFFFFF#000000##FFFFFF
##8B1A721.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1a72;
/* rgb */ color: rgb(139, 26, 114);
/* oklch */ color: oklch(44.4% 0.172 339.0);
Tailwind
colors: {
  custom: {
    50: '#b1659b',
    500: '#8b1a72',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a72;
$custom-light: #b1659b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a72",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 313.274,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44361,
    "c": 0.17235,
    "h": 339
  },
  "luminance": 0.07443
}

Semantic roles & 50–950 ramp

primary
#8B1A72
secondary
#44BD5F
accent
#EB633C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1A72

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

Preview Lab → · Contrast checker → · Palette generator →

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