#8B1F76#8B1F76

#8B1F76 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.170 H 337.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8B1F76
RGBrgb(139, 31, 118)
HSLhsl(312, 64%, 33%)
HSVhsv(312, 78%, 55%)
CMYKcmyk(0%, 77.7%, 15.1%, 45.5%)
CIE-LABlab(33.52, 53.16, -24.14)
CIE-LCHlch(33.52, 58.39, 335.57°)
OKLaboklab(44.94% 0.1569 -0.0657)
OKLCHoklch(44.94% 0.17 337.3)
XYZxyz(14.4078, 7.7783, 17.8786)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1F76 #1F8B34
analogous
#6A1F8B #8B1F76 #8B1F40
triadic
#8B1F76 #768B1F #1F768B
tetradic
#8B1F76 #8B6A1F #1F8B34 #1F408B
square
#8B1F76 #8B6A1F #1F8B34 #1F408B
split-complementary
#8B1F76 #408B1F #1F8B6A
monochromatic
#270921 #59144C #8B1F76 #BD2AA0 #D74DBC

Accessibility & contrast

On white

8.22
#8B1F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B1F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1F76
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1F76#FFFFFF#000000##FFFFFF
##8B1F761.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#932649
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1f76;
/* rgb */ color: rgb(139, 31, 118);
/* oklch */ color: oklch(44.9% 0.170 337.3);
Tailwind
colors: {
  custom: {
    50: '#b0679e',
    500: '#8b1f76',
    950: '#000000',
  },
}
SCSS
$custom: #8b1f76;
$custom-light: #b0679e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1f76",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 118
  },
  "hsl": {
    "h": 311.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.17009,
    "h": 337.3
  },
  "luminance": 0.07777
}

Semantic roles & 50–950 ramp

primary
#8B1F76
secondary
#4CBA61
accent
#E76141
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1F76

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

Preview Lab → · Contrast checker → · Palette generator →

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