#8B1776#8B1776

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

Color values

HEX#8B1776
RGBrgb(139, 23, 118)
HSLhsl(311, 72%, 32%)
HSVhsv(311, 83%, 55%)
CMYKcmyk(0%, 83.5%, 15.1%, 45.5%)
CIE-LABlab(32.73, 55.44, -25.38)
CIE-LCHlch(32.73, 60.97, 335.40°)
OKLaboklab(44.38% 0.1637 -0.0692)
OKLCHoklch(44.38% 0.178 337.1)
XYZxyz(14.2242, 7.4112, 17.8174)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1776 #178B2C
analogous
#66178B #8B1776 #8B173C
triadic
#8B1776 #768B17 #17768B
tetradic
#8B1776 #8B6617 #178B2C #173C8B
square
#8B1776 #8B6617 #178B2C #173C8B
split-complementary
#8B1776 #3C8B17 #178B66
monochromatic
#22061D #560E49 #8B1776 #C020A3 #DF3DC2

Accessibility & contrast

On white

8.46
#8B1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8B1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1776
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1776#FFFFFF#000000##FFFFFF
##8B17761.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4278
Deuteranopia (green-blind)
#465373
Tritanopia (blue-blind)
#932047
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b1776;
/* rgb */ color: rgb(139, 23, 118);
/* oklch */ color: oklch(44.4% 0.178 337.1);
Tailwind
colors: {
  custom: {
    50: '#b1649e',
    500: '#8b1776',
    950: '#000000',
  },
}
SCSS
$custom: #8b1776;
$custom-light: #b1649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1776",
  "rgb": {
    "r": 139,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 310.862,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.17773,
    "h": 337.1
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

primary
#8B1776
secondary
#3FBF56
accent
#EE5A39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1776

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

Preview Lab → · Contrast checker → · Palette generator →

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