#8F197A#8F197A

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

Color values

HEX#8F197A
RGBrgb(143, 25, 122)
HSLhsl(311, 70%, 33%)
HSVhsv(311, 83%, 56%)
CMYKcmyk(0%, 82.5%, 14.7%, 43.9%)
CIE-LABlab(33.86, 56.41, -26.07)
CIE-LCHlch(33.86, 62.15, 335.19°)
OKLaboklab(45.4% 0.1664 -0.0711)
OKLCHoklch(45.4% 0.181 336.9)
XYZxyz(15.1885, 7.9415, 19.1415)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F197A #198F2E
analogous
#69198F #8F197A #8F193F
triadic
#8F197A #7A8F19 #197A8F
tetradic
#8F197A #8F6919 #198F2E #193F8F
square
#8F197A #8F6919 #198F2E #193F8F
split-complementary
#8F197A #3F8F19 #198F69
monochromatic
#270721 #5B104E #8F197A #C322A6 #DE44C3

Accessibility & contrast

On white

8.11
#8F197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F197A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F197A#FFFFFF#000000##FFFFFF
##8F197A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447C
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#972249
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f197a;
/* rgb */ color: rgb(143, 25, 122);
/* oklch */ color: oklch(45.4% 0.181 336.9);
Tailwind
colors: {
  custom: {
    50: '#b466a1',
    500: '#8f197a',
    950: '#000000',
  },
}
SCSS
$custom: #8f197a;
$custom-light: #b466a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f197a",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 310.678,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.18093,
    "h": 336.9
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#8F197A
secondary
#44BF5A
accent
#ED5A3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #8F197A

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

Preview Lab → · Contrast checker → · Palette generator →

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