#8F1778#8F1778

#8F1778 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.2% C 0.181 H 337.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8F1778
RGBrgb(143, 23, 120)
HSLhsl(312, 72%, 33%)
HSVhsv(312, 84%, 56%)
CMYKcmyk(0%, 83.9%, 16.1%, 43.9%)
CIE-LABlab(33.58, 56.62, -25.25)
CIE-LCHlch(33.58, 62.00, 335.97°)
OKLaboklab(45.16% 0.1677 -0.0687)
OKLCHoklch(45.16% 0.181 337.7)
XYZxyz(15.0246, 7.8100, 18.4819)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1778 #178F2E
analogous
#6A178F #8F1778 #8F173C
triadic
#8F1778 #788F17 #17788F
tetradic
#8F1778 #8F6A17 #178F2E #173C8F
square
#8F1778 #8F6A17 #178F2E #173C8F
split-complementary
#8F1778 #3C8F17 #178F6A
monochromatic
#260620 #5A0F4C #8F1778 #C41FA4 #E040C2

Accessibility & contrast

On white

8.20
#8F1778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8F1778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1778
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1778#FFFFFF#000000##FFFFFF
##8F17781.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D437A
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#972048
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1778;
/* rgb */ color: rgb(143, 23, 120);
/* oklch */ color: oklch(45.2% 0.181 337.7);
Tailwind
colors: {
  custom: {
    50: '#b4659f',
    500: '#8f1778',
    950: '#000000',
  },
}
SCSS
$custom: #8f1778;
$custom-light: #b4659f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1778",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 311.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.18126,
    "h": 337.7
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#8F1778
secondary
#41C15A
accent
#EF5C39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1778

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

Preview Lab → · Contrast checker → · Palette generator →

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