#8F1D78#8F1D78

#8F1D78 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.176 H 337.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8F1D78
RGBrgb(143, 29, 120)
HSLhsl(312, 66%, 34%)
HSVhsv(312, 80%, 56%)
CMYKcmyk(0%, 79.7%, 16.1%, 43.9%)
CIE-LABlab(34.14, 55.02, -24.38)
CIE-LCHlch(34.14, 60.18, 336.11°)
OKLaboklab(45.56% 0.1629 -0.0662)
OKLCHoklch(45.56% 0.176 337.9)
XYZxyz(15.1576, 8.0759, 18.5262)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D78 #1D8F34
analogous
#6D1D8F #8F1D78 #8F1D3F
triadic
#8F1D78 #788F1D #1D788F
tetradic
#8F1D78 #8F6D1D #1D8F34 #1D3F8F
square
#8F1D78 #8F6D1D #1D8F34 #1D3F8F
split-complementary
#8F1D78 #3F8F1D #1D8F6D
monochromatic
#290823 #5C134D #8F1D78 #C227A3 #DB4CBE

Accessibility & contrast

On white

8.03
#8F1D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F1D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D78
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D78#FFFFFF#000000##FFFFFF
##8F1D781.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#4A5675
Tritanopia (blue-blind)
#972449
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1d78;
/* rgb */ color: rgb(143, 29, 120);
/* oklch */ color: oklch(45.6% 0.176 337.9);
Tailwind
colors: {
  custom: {
    50: '#b4679f',
    500: '#8f1d78',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d78;
$custom-light: #b4679f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d78",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 312.105,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45563,
    "c": 0.17587,
    "h": 337.9
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#8F1D78
secondary
#4BBD62
accent
#E9613F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8F1D78

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

Preview Lab → · Contrast checker → · Palette generator →

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