#8F286F#8F286F

#8F286F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.157 H 342.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8F286F
RGBrgb(143, 40, 111)
HSLhsl(319, 56%, 36%)
HSVhsv(319, 72%, 56%)
CMYKcmyk(0%, 72%, 22.4%, 43.9%)
CIE-LABlab(35.02, 50.04, -17.34)
CIE-LCHlch(35.02, 52.96, 340.89°)
OKLaboklab(46.06% 0.1504 -0.0464)
OKLCHoklch(46.06% 0.157 342.8)
XYZxyz(14.9562, 8.5064, 15.8901)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F286F #288F48
analogous
#7B288F #8F286F #8F283B
triadic
#8F286F #6F8F28 #286F8F
tetradic
#8F286F #8F7B28 #288F48 #283B8F
square
#8F286F #8F7B28 #288F48 #283B8F
split-complementary
#8F286F #3B8F28 #288F7B
monochromatic
#2F0D25 #5F1B4A #8F286F #BF3594 #D25FAF

Accessibility & contrast

On white

7.77
#8F286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F286F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F286F#FFFFFF#000000##FFFFFF
##8F286F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324871
Deuteranopia (green-blind)
#51596D
Tritanopia (blue-blind)
#982848
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f286f;
/* rgb */ color: rgb(143, 40, 111);
/* oklch */ color: oklch(46.1% 0.157 342.8);
Tailwind
colors: {
  custom: {
    50: '#b36b98',
    500: '#8f286f',
    950: '#000000',
  },
}
SCSS
$custom: #8f286f;
$custom-light: #b36b98;
$custom-dark: #000000;
JSON
{
  "hex": "#8f286f",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 318.641,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46059,
    "c": 0.15738,
    "h": 342.8
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#8F286F
secondary
#5BB878
accent
#E07748
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F286F

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

Preview Lab → · Contrast checker → · Palette generator →

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