#8B1978#8B1978

#8B1978 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.177 H 336.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8B1978
RGBrgb(139, 25, 120)
HSLhsl(310, 70%, 32%)
HSVhsv(310, 82%, 55%)
CMYKcmyk(0%, 82%, 13.7%, 45.5%)
CIE-LABlab(33.01, 55.21, -26.20)
CIE-LCHlch(33.01, 61.11, 334.61°)
OKLaboklab(44.61% 0.1623 -0.0715)
OKLCHoklch(44.61% 0.177 336.2)
XYZxyz(14.3855, 7.5417, 18.4637)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1978 #198B2C
analogous
#65198B #8B1978 #8B193F
triadic
#8B1978 #788B19 #19788B
tetradic
#8B1978 #8B6519 #198B2C #193F8B
square
#8B1978 #8B6519 #198B2C #193F8B
split-complementary
#8B1978 #3F8B19 #198B65
monochromatic
#23061E #57104B #8B1978 #BF22A5 #DD41C3

Accessibility & contrast

On white

8.37
#8B1978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8B1978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1978
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1978#FFFFFF#000000##FFFFFF
##8B19781.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b1978;
/* rgb */ color: rgb(139, 25, 120);
/* oklch */ color: oklch(44.6% 0.177 336.2);
Tailwind
colors: {
  custom: {
    50: '#b1659f',
    500: '#8b1978',
    950: '#000000',
  },
}
SCSS
$custom: #8b1978;
$custom-light: #b1659f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1978",
  "rgb": {
    "r": 139,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 310,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44613,
    "c": 0.17738,
    "h": 336.2
  },
  "luminance": 0.0754
}

Semantic roles & 50–950 ramp

primary
#8B1978
secondary
#42BE57
accent
#EC593B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8B1978

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

Preview Lab → · Contrast checker → · Palette generator →

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