#8F287C#8F287C

#8F287C is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.166 H 336.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8F287C
RGBrgb(143, 40, 124)
HSLhsl(311, 56%, 36%)
HSVhsv(311, 72%, 56%)
CMYKcmyk(0%, 72%, 13.3%, 43.9%)
CIE-LABlab(35.62, 51.97, -24.57)
CIE-LCHlch(35.62, 57.48, 334.70°)
OKLaboklab(46.7% 0.1524 -0.0669)
OKLCHoklch(46.7% 0.166 336.3)
XYZxyz(15.7248, 8.8139, 19.9379)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F287C #288F3B
analogous
#6E288F #8F287C #8F2848
triadic
#8F287C #7C8F28 #287C8F
tetradic
#8F287C #8F6E28 #288F3B #28488F
square
#8F287C #8F6E28 #288F3B #28488F
split-complementary
#8F287C #488F28 #288F6E
monochromatic
#2F0D29 #5F1B53 #8F287C #BF35A5 #D25FBD

Accessibility & contrast

On white

7.60
#8F287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8F287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F287C
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F287C#FFFFFF#000000##FFFFFF
##8F287C1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7E
Deuteranopia (green-blind)
#4C597A
Tritanopia (blue-blind)
#962F4F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f287c;
/* rgb */ color: rgb(143, 40, 124);
/* oklch */ color: oklch(46.7% 0.166 336.3);
Tailwind
colors: {
  custom: {
    50: '#b36ca2',
    500: '#8f287c',
    950: '#000000',
  },
}
SCSS
$custom: #8f287c;
$custom-light: #b36ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f287c",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 311.068,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46698,
    "c": 0.16646,
    "h": 336.3
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#8F287C
secondary
#5BB86C
accent
#E06448
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F287C

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

Preview Lab → · Contrast checker → · Palette generator →

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