#8F286D#8F286D

#8F286D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.156 H 343.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8F286D
RGBrgb(143, 40, 109)
HSLhsl(320, 56%, 36%)
HSVhsv(320, 72%, 56%)
CMYKcmyk(0%, 72%, 23.8%, 43.9%)
CIE-LABlab(34.93, 49.76, -16.21)
CIE-LCHlch(34.93, 52.33, 341.96°)
OKLaboklab(45.97% 0.15 -0.0432)
OKLCHoklch(45.97% 0.156 343.9)
XYZxyz(14.8473, 8.4629, 15.3166)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F286D #288F4A
analogous
#7D288F #8F286D #8F2839
triadic
#8F286D #6D8F28 #286D8F
tetradic
#8F286D #8F7D28 #288F4A #28398F
square
#8F286D #8F7D28 #288F4A #28398F
split-complementary
#8F286D #398F28 #288F7D
monochromatic
#2F0D24 #5F1B49 #8F286D #BF3591 #D25FAC

Accessibility & contrast

On white

7.80
#8F286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8F286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F286D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F286D#FFFFFF#000000##FFFFFF
##8F286D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476F
Deuteranopia (green-blind)
#52586B
Tritanopia (blue-blind)
#982847
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f286d;
/* rgb */ color: rgb(143, 40, 109);
/* oklch */ color: oklch(46.0% 0.156 343.9);
Tailwind
colors: {
  custom: {
    50: '#b36b97',
    500: '#8f286d',
    950: '#000000',
  },
}
SCSS
$custom: #8f286d;
$custom-light: #b36b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8f286d",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 319.806,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.15608,
    "h": 343.9
  },
  "luminance": 0.08461
}

Semantic roles & 50–950 ramp

primary
#8F286D
secondary
#5BB87A
accent
#E07A48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F286D

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

Preview Lab → · Contrast checker → · Palette generator →

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