#8B1A74#8B1A74

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

Color values

HEX#8B1A74
RGBrgb(139, 26, 116)
HSLhsl(312, 68%, 32%)
HSVhsv(312, 81%, 55%)
CMYKcmyk(0%, 81.3%, 16.5%, 45.5%)
CIE-LABlab(32.90, 54.35, -23.85)
CIE-LCHlch(32.90, 59.36, 336.31°)
OKLaboklab(44.47% 0.1612 -0.0648)
OKLCHoklch(44.47% 0.174 338.1)
XYZxyz(14.1696, 7.4901, 17.2191)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1A74 #1A8B31
analogous
#691A8B #8B1A74 #8B1A3C
triadic
#8B1A74 #748B1A #1A748B
tetradic
#8B1A74 #8B691A #1A8B31 #1A3C8B
square
#8B1A74 #8B691A #1A8B31 #1A3C8B
split-complementary
#8B1A74 #3C8B1A #1A8B69
monochromatic
#24071E #571049 #8B1A74 #BF249F #DC43BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B1A74#FFFFFF#000000##FFFFFF
##8B1A741.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)
#204276
Deuteranopia (green-blind)
#485371
Tritanopia (blue-blind)
#932146
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1a74;
/* rgb */ color: rgb(139, 26, 116);
/* oklch */ color: oklch(44.5% 0.174 338.1);
Tailwind
colors: {
  custom: {
    50: '#b1659c',
    500: '#8b1a74',
    950: '#000000',
  },
}
SCSS
$custom: #8b1a74;
$custom-light: #b1659c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1a74",
  "rgb": {
    "r": 139,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 312.212,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.1737,
    "h": 338.1
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#8B1A74
secondary
#44BD5C
accent
#EB603C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1A74

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

Preview Lab → · Contrast checker → · Palette generator →

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