#8F1A78#8F1A78

#8F1A78 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.4% C 0.179 H 337.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8F1A78
RGBrgb(143, 26, 120)
HSLhsl(312, 69%, 33%)
HSVhsv(312, 82%, 56%)
CMYKcmyk(0%, 81.8%, 16.1%, 43.9%)
CIE-LABlab(33.85, 55.86, -24.83)
CIE-LCHlch(33.85, 61.13, 336.03°)
OKLaboklab(45.35% 0.1654 -0.0675)
OKLCHoklch(45.35% 0.179 337.8)
XYZxyz(15.0876, 7.9360, 18.5029)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A78 #1A8F31
analogous
#6B1A8F #8F1A78 #8F1A3D
triadic
#8F1A78 #788F1A #1A788F
tetradic
#8F1A78 #8F6B1A #1A8F31 #1A3D8F
square
#8F1A78 #8F6B1A #1A8F31 #1A3D8F
split-complementary
#8F1A78 #3D8F1A #1A8F6B
monochromatic
#270721 #5B114D #8F1A78 #C323A3 #DD46C0

Accessibility & contrast

On white

8.12
#8F1A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F1A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1A78
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A78#FFFFFF#000000##FFFFFF
##8F1A781.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#495675
Tritanopia (blue-blind)
#972248
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1a78;
/* rgb */ color: rgb(143, 26, 120);
/* oklch */ color: oklch(45.4% 0.179 337.8);
Tailwind
colors: {
  custom: {
    50: '#b4669f',
    500: '#8f1a78',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a78;
$custom-light: #b4669f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a78",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 311.795,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45354,
    "c": 0.17869,
    "h": 337.8
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#8F1A78
secondary
#46BF5E
accent
#EC5E3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #8F1A78

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

Preview Lab → · Contrast checker → · Palette generator →

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