#8B1C76#8B1C76

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

Color values

HEX#8B1C76
RGBrgb(139, 28, 118)
HSLhsl(311, 66%, 33%)
HSVhsv(311, 80%, 55%)
CMYKcmyk(0%, 79.9%, 15.1%, 45.5%)
CIE-LABlab(33.20, 54.08, -24.64)
CIE-LCHlch(33.20, 59.43, 335.50°)
OKLaboklab(44.71% 0.1596 -0.0671)
OKLCHoklch(44.71% 0.173 337.2)
XYZxyz(14.3330, 7.6289, 17.8537)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C76 #1C8B31
analogous
#681C8B #8B1C76 #8B1C3F
triadic
#8B1C76 #768B1C #1C768B
tetradic
#8B1C76 #8B681C #1C8B31 #1C3F8B
square
#8B1C76 #8B681C #1C8B31 #1C3F8B
split-complementary
#8B1C76 #3F8B1C #1C8B68
monochromatic
#250720 #58124B #8B1C76 #BE26A1 #DA47BE

Accessibility & contrast

On white

8.32
#8B1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B1C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1C76
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C76#FFFFFF#000000##FFFFFF
##8B1C761.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204378
Deuteranopia (green-blind)
#475473
Tritanopia (blue-blind)
#932448
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1c76;
/* rgb */ color: rgb(139, 28, 118);
/* oklch */ color: oklch(44.7% 0.173 337.2);
Tailwind
colors: {
  custom: {
    50: '#b1669e',
    500: '#8b1c76',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c76;
$custom-light: #b1669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c76",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 311.351,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44714,
    "c": 0.17316,
    "h": 337.2
  },
  "luminance": 0.07627
}

Semantic roles & 50–950 ramp

primary
#8B1C76
secondary
#47BC5D
accent
#E95F3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1C76

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

Preview Lab → · Contrast checker → · Palette generator →

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