#8B1B74#8B1B74

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

Color values

HEX#8B1B74
RGBrgb(139, 27, 116)
HSLhsl(312, 67%, 33%)
HSVhsv(312, 81%, 55%)
CMYKcmyk(0%, 80.6%, 16.5%, 45.5%)
CIE-LABlab(33.00, 54.07, -23.70)
CIE-LCHlch(33.00, 59.04, 336.34°)
OKLaboklab(44.54% 0.1603 -0.0644)
OKLCHoklch(44.54% 0.173 338.1)
XYZxyz(14.1921, 7.5352, 17.2266)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B74 #1B8B32
analogous
#6A1B8B #8B1B74 #8B1B3C
triadic
#8B1B74 #748B1B #1B748B
tetradic
#8B1B74 #8B6A1B #1B8B32 #1B3C8B
square
#8B1B74 #8B6A1B #1B8B32 #1B3C8B
split-complementary
#8B1B74 #3C8B1B #1B8B6A
monochromatic
#25071E #581149 #8B1B74 #BE259F #DB45BC

Accessibility & contrast

On white

8.38
#8B1B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8B1B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B74
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B74#FFFFFF#000000##FFFFFF
##8B1B741.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214376
Deuteranopia (green-blind)
#485471
Tritanopia (blue-blind)
#932246
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1b74;
/* rgb */ color: rgb(139, 27, 116);
/* oklch */ color: oklch(44.5% 0.173 338.1);
Tailwind
colors: {
  custom: {
    50: '#b1669c',
    500: '#8b1b74',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b74;
$custom-light: #b1669c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b74",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 312.321,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44536,
    "c": 0.17276,
    "h": 338.1
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#8B1B74
secondary
#45BC5E
accent
#EA613D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1B74

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

Preview Lab → · Contrast checker → · Palette generator →

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