#8F197B#8F197B

#8F197B is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.5% C 0.182 H 336.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8F197B
RGBrgb(143, 25, 123)
HSLhsl(310, 70%, 33%)
HSVhsv(310, 83%, 56%)
CMYKcmyk(0%, 82.5%, 14%, 43.9%)
CIE-LABlab(33.91, 56.56, -26.62)
CIE-LCHlch(33.91, 62.51, 334.80°)
OKLaboklab(45.45% 0.1665 -0.0726)
OKLCHoklch(45.45% 0.182 336.4)
XYZxyz(15.2508, 7.9664, 19.4695)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F197B #198F2D
analogous
#68198F #8F197B #8F1940
triadic
#8F197B #7B8F19 #197B8F
tetradic
#8F197B #8F6819 #198F2D #19408F
square
#8F197B #8F6819 #198F2D #19408F
split-complementary
#8F197B #408F19 #198F68
monochromatic
#270721 #5B104E #8F197B #C322A8 #DE44C4

Accessibility & contrast

On white

8.10
#8F197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F197B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F197B#FFFFFF#000000##FFFFFF
##8F197B1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457D
Deuteranopia (green-blind)
#485678
Tritanopia (blue-blind)
#97234A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f197b;
/* rgb */ color: rgb(143, 25, 123);
/* oklch */ color: oklch(45.5% 0.182 336.4);
Tailwind
colors: {
  custom: {
    50: '#b466a1',
    500: '#8f197b',
    950: '#000000',
  },
}
SCSS
$custom: #8f197b;
$custom-light: #b466a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f197b",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 310.169,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4545,
    "c": 0.18163,
    "h": 336.4
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#8F197B
secondary
#44BF59
accent
#ED593B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #8F197B

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

Preview Lab → · Contrast checker → · Palette generator →

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