#8F187A#8F187A

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

Color values

HEX#8F187A
RGBrgb(143, 24, 122)
HSLhsl(311, 71%, 33%)
HSVhsv(311, 83%, 56%)
CMYKcmyk(0%, 83.2%, 14.7%, 43.9%)
CIE-LABlab(33.77, 56.67, -26.21)
CIE-LCHlch(33.77, 62.43, 335.18°)
OKLaboklab(45.33% 0.1672 -0.0715)
OKLCHoklch(45.33% 0.182 336.9)
XYZxyz(15.1675, 7.8995, 19.1345)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F187A #188F2D
analogous
#68188F #8F187A #8F183F
triadic
#8F187A #7A8F18 #187A8F
tetradic
#8F187A #8F6818 #188F2D #183F8F
square
#8F187A #8F6818 #188F2D #183F8F
split-complementary
#8F187A #3F8F18 #188F68
monochromatic
#260621 #5B0F4D #8F187A #C321A7 #DF42C4

Accessibility & contrast

On white

8.14
#8F187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8F187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F187A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F187A#FFFFFF#000000##FFFFFF
##8F187A1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447C
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#972249
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f187a;
/* rgb */ color: rgb(143, 24, 122);
/* oklch */ color: oklch(45.3% 0.182 336.9);
Tailwind
colors: {
  custom: {
    50: '#b466a1',
    500: '#8f187a',
    950: '#000000',
  },
}
SCSS
$custom: #8f187a;
$custom-light: #b466a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f187a",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 310.588,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45332,
    "c": 0.18179,
    "h": 336.9
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#8F187A
secondary
#43C059
accent
#EE5A3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #8F187A

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

Preview Lab → · Contrast checker → · Palette generator →

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