#8F1776#8F1776

#8F1776 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.180 H 338.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8F1776
RGBrgb(143, 23, 118)
HSLhsl(313, 72%, 33%)
HSVhsv(313, 84%, 56%)
CMYKcmyk(0%, 83.9%, 17.5%, 43.9%)
CIE-LABlab(33.48, 56.34, -24.14)
CIE-LCHlch(33.48, 61.30, 336.80°)
OKLaboklab(45.06% 0.1676 -0.0655)
OKLCHoklch(45.06% 0.18 338.6)
XYZxyz(14.9045, 7.7619, 17.8493)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1776 #178F30
analogous
#6C178F #8F1776 #8F173A
triadic
#8F1776 #768F17 #17768F
tetradic
#8F1776 #8F6C17 #178F30 #173A8F
square
#8F1776 #8F6C17 #178F30 #173A8F
split-complementary
#8F1776 #3A8F17 #178F6C
monochromatic
#26061F #5A0F4A #8F1776 #C41FA2 #E040BF

Accessibility & contrast

On white

8.23
#8F1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8F1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1776
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1776#FFFFFF#000000##FFFFFF
##8F17761.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4378
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#981E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f1776;
/* rgb */ color: rgb(143, 23, 118);
/* oklch */ color: oklch(45.1% 0.180 338.6);
Tailwind
colors: {
  custom: {
    50: '#b4659e',
    500: '#8f1776',
    950: '#000000',
  },
}
SCSS
$custom: #8f1776;
$custom-light: #b4659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1776",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 312.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45057,
    "c": 0.17993,
    "h": 338.6
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#8F1776
secondary
#41C15C
accent
#EF5F39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8F1776

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

Preview Lab → · Contrast checker → · Palette generator →

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