#8F286C#8F286C

#8F286C is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.155 H 344.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8F286C
RGBrgb(143, 40, 108)
HSLhsl(320, 56%, 36%)
HSVhsv(320, 72%, 56%)
CMYKcmyk(0%, 72%, 24.5%, 43.9%)
CIE-LABlab(34.89, 49.62, -15.64)
CIE-LCHlch(34.89, 52.03, 342.51°)
OKLaboklab(45.92% 0.1498 -0.0416)
OKLCHoklch(45.92% 0.155 344.5)
XYZxyz(14.7938, 8.4415, 15.0347)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F286C #288F4B
analogous
#7E288F #8F286C #8F2839
triadic
#8F286C #6C8F28 #286C8F
tetradic
#8F286C #8F7E28 #288F4B #28398F
square
#8F286C #8F7E28 #288F4B #28398F
split-complementary
#8F286C #398F28 #288F7E
monochromatic
#2F0D24 #5F1B48 #8F286C #BF3590 #D25FAB

Accessibility & contrast

On white

7.81
#8F286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F286C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F286C#FFFFFF#000000##FFFFFF
##8F286C1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476E
Deuteranopia (green-blind)
#52586A
Tritanopia (blue-blind)
#992746
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f286c;
/* rgb */ color: rgb(143, 40, 108);
/* oklch */ color: oklch(45.9% 0.155 344.5);
Tailwind
colors: {
  custom: {
    50: '#b36b96',
    500: '#8f286c',
    950: '#000000',
  },
}
SCSS
$custom: #8f286c;
$custom-light: #b36b96;
$custom-dark: #000000;
JSON
{
  "hex": "#8f286c",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 320.388,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.15544,
    "h": 344.5
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#8F286C
secondary
#5BB87B
accent
#E07C48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F286C

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

Preview Lab → · Contrast checker → · Palette generator →

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