#8B1B77#8B1B77

#8B1B77 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.175 H 336.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8B1B77
RGBrgb(139, 27, 119)
HSLhsl(311, 67%, 33%)
HSVhsv(311, 81%, 55%)
CMYKcmyk(0%, 80.6%, 14.4%, 45.5%)
CIE-LABlab(33.15, 54.51, -25.35)
CIE-LCHlch(33.15, 60.12, 335.06°)
OKLaboklab(44.7% 0.1606 -0.0691)
OKLCHoklch(44.7% 0.175 336.7)
XYZxyz(14.3694, 7.6061, 18.1605)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1B77 #1B8B2F
analogous
#671B8B #8B1B77 #8B1B3F
triadic
#8B1B77 #778B1B #1B778B
tetradic
#8B1B77 #8B671B #1B8B2F #1B3F8B
square
#8B1B77 #8B671B #1B8B2F #1B3F8B
split-complementary
#8B1B77 #3F8B1B #1B8B67
monochromatic
#25071F #58114B #8B1B77 #BE25A3 #DB45C0

Accessibility & contrast

On white

8.33
#8B1B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8B1B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1B77
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1B77#FFFFFF#000000##FFFFFF
##8B1B771.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4379
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#932348
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1b77;
/* rgb */ color: rgb(139, 27, 119);
/* oklch */ color: oklch(44.7% 0.175 336.7);
Tailwind
colors: {
  custom: {
    50: '#b1669e',
    500: '#8b1b77',
    950: '#000000',
  },
}
SCSS
$custom: #8b1b77;
$custom-light: #b1669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1b77",
  "rgb": {
    "r": 139,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 310.714,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44696,
    "c": 0.17483,
    "h": 336.7
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#8B1B77
secondary
#45BC5B
accent
#EA5C3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1B77

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

Preview Lab → · Contrast checker → · Palette generator →

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