#8F286B#8F286B

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

Color values

HEX#8F286B
RGBrgb(143, 40, 107)
HSLhsl(321, 56%, 36%)
HSVhsv(321, 72%, 56%)
CMYKcmyk(0%, 72%, 25.2%, 43.9%)
CIE-LABlab(34.84, 49.48, -15.07)
CIE-LCHlch(34.84, 51.73, 343.06°)
OKLaboklab(45.88% 0.1495 -0.0401)
OKLCHoklch(45.88% 0.155 345)
XYZxyz(14.7409, 8.4203, 14.7560)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F286B #288F4C
analogous
#7F288F #8F286B #8F2837
triadic
#8F286B #6B8F28 #286B8F
tetradic
#8F286B #8F7F28 #288F4C #28378F
square
#8F286B #8F7F28 #288F4C #28378F
split-complementary
#8F286B #378F28 #288F7F
monochromatic
#2F0D23 #5F1B47 #8F286B #BF358F #D25FAA

Accessibility & contrast

On white

7.82
#8F286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F286B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F286B#FFFFFF#000000##FFFFFF
##8F286B1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34476D
Deuteranopia (green-blind)
#535869
Tritanopia (blue-blind)
#992746
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f286b;
/* rgb */ color: rgb(143, 40, 107);
/* oklch */ color: oklch(45.9% 0.155 345.0);
Tailwind
colors: {
  custom: {
    50: '#b36b95',
    500: '#8f286b',
    950: '#000000',
  },
}
SCSS
$custom: #8f286b;
$custom-light: #b36b95;
$custom-dark: #000000;
JSON
{
  "hex": "#8f286b",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 320.971,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45876,
    "c": 0.15482,
    "h": 345
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#8F286B
secondary
#5BB87B
accent
#E07D48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F286B

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

Preview Lab → · Contrast checker → · Palette generator →

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