#8F287D#8F287D

#8F287D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.167 H 335.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8F287D
RGBrgb(143, 40, 125)
HSLhsl(310, 56%, 36%)
HSVhsv(310, 72%, 56%)
CMYKcmyk(0%, 72%, 12.6%, 43.9%)
CIE-LABlab(35.67, 52.13, -25.11)
CIE-LCHlch(35.67, 57.86, 334.28°)
OKLaboklab(46.75% 0.1526 -0.0684)
OKLCHoklch(46.75% 0.167 335.8)
XYZxyz(15.7884, 8.8393, 20.2727)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F287D #288F3A
analogous
#6D288F #8F287D #8F284A
triadic
#8F287D #7D8F28 #287D8F
tetradic
#8F287D #8F6D28 #288F3A #284A8F
square
#8F287D #8F6D28 #288F3A #284A8F
split-complementary
#8F287D #4A8F28 #288F6D
monochromatic
#2F0D29 #5F1B53 #8F287D #BF35A7 #D25FBE

Accessibility & contrast

On white

7.59
#8F287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8F287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F287D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F287D#FFFFFF#000000##FFFFFF
##8F287D1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7F
Deuteranopia (green-blind)
#4C597B
Tritanopia (blue-blind)
#962F4F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f287d;
/* rgb */ color: rgb(143, 40, 125);
/* oklch */ color: oklch(46.8% 0.167 335.8);
Tailwind
colors: {
  custom: {
    50: '#b36ca3',
    500: '#8f287d',
    950: '#000000',
  },
}
SCSS
$custom: #8f287d;
$custom-light: #b36ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f287d",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 310.485,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4675,
    "c": 0.1672,
    "h": 335.8
  },
  "luminance": 0.08838
}

Semantic roles & 50–950 ramp

primary
#8F287D
secondary
#5BB86B
accent
#E06348
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F287D

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

Preview Lab → · Contrast checker → · Palette generator →

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