#8F286A#8F286A

#8F286A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.154 H 345.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8F286A
RGBrgb(143, 40, 106)
HSLhsl(322, 56%, 36%)
HSVhsv(322, 72%, 56%)
CMYKcmyk(0%, 72%, 25.9%, 43.9%)
CIE-LABlab(34.80, 49.35, -14.50)
CIE-LCHlch(34.80, 51.43, 343.63°)
OKLaboklab(45.83% 0.1493 -0.0385)
OKLCHoklch(45.83% 0.154 345.5)
XYZxyz(14.6886, 8.3994, 14.4806)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F286A #288F4D
analogous
#80288F #8F286A #8F2837
triadic
#8F286A #6A8F28 #286A8F
tetradic
#8F286A #8F8028 #288F4D #28378F
square
#8F286A #8F8028 #288F4D #28378F
split-complementary
#8F286A #378F28 #288F80
monochromatic
#2F0D23 #5F1B47 #8F286A #BF358D #D25FA9

Accessibility & contrast

On white

7.84
#8F286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F286A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F286A#FFFFFF#000000##FFFFFF
##8F286A1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476C
Deuteranopia (green-blind)
#535868
Tritanopia (blue-blind)
#992645
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f286a;
/* rgb */ color: rgb(143, 40, 106);
/* oklch */ color: oklch(45.8% 0.154 345.5);
Tailwind
colors: {
  custom: {
    50: '#b36b94',
    500: '#8f286a',
    950: '#000000',
  },
}
SCSS
$custom: #8f286a;
$custom-light: #b36b94;
$custom-dark: #000000;
JSON
{
  "hex": "#8f286a",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 321.553,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.1542,
    "h": 345.5
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#8F286A
secondary
#5BB87C
accent
#E07F48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F286A

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

Preview Lab → · Contrast checker → · Palette generator →

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