#8B1C78#8B1C78

#8B1C78 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.175 H 336.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8B1C78
RGBrgb(139, 28, 120)
HSLhsl(310, 66%, 33%)
HSVhsv(310, 80%, 55%)
CMYKcmyk(0%, 79.9%, 13.7%, 45.5%)
CIE-LABlab(33.30, 54.37, -25.74)
CIE-LCHlch(33.30, 60.16, 334.66°)
OKLaboklab(44.82% 0.1598 -0.0702)
OKLCHoklch(44.82% 0.175 336.3)
XYZxyz(14.4531, 7.6769, 18.4863)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1C78 #1C8B2F
analogous
#661C8B #8B1C78 #8B1C41
triadic
#8B1C78 #788B1C #1C788B
tetradic
#8B1C78 #8B661C #1C8B2F #1C418B
square
#8B1C78 #8B661C #1C8B2F #1C418B
split-complementary
#8B1C78 #418B1C #1C8B66
monochromatic
#250720 #58124C #8B1C78 #BE26A4 #DA47C1

Accessibility & contrast

On white

8.28
#8B1C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8B1C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1C78
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1C78#FFFFFF#000000##FFFFFF
##8B1C781.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447A
Deuteranopia (green-blind)
#465475
Tritanopia (blue-blind)
#932549
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b1c78;
/* rgb */ color: rgb(139, 28, 120);
/* oklch */ color: oklch(44.8% 0.175 336.3);
Tailwind
colors: {
  custom: {
    50: '#b1669f',
    500: '#8b1c78',
    950: '#000000',
  },
}
SCSS
$custom: #8b1c78;
$custom-light: #b1669f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1c78",
  "rgb": {
    "r": 139,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 310.27,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44822,
    "c": 0.17456,
    "h": 336.3
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#8B1C78
secondary
#47BC5B
accent
#E95C3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B1C78

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

Preview Lab → · Contrast checker → · Palette generator →

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