#8F286E#8F286E

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

Color values

HEX#8F286E
RGBrgb(143, 40, 110)
HSLhsl(319, 56%, 36%)
HSVhsv(319, 72%, 56%)
CMYKcmyk(0%, 72%, 23.1%, 43.9%)
CIE-LABlab(34.97, 49.90, -16.77)
CIE-LCHlch(34.97, 52.64, 341.42°)
OKLaboklab(46.01% 0.1502 -0.0448)
OKLCHoklch(46.01% 0.157 343.4)
XYZxyz(14.9015, 8.4845, 15.6017)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F286E #288F49
analogous
#7C288F #8F286E #8F283B
triadic
#8F286E #6E8F28 #286E8F
tetradic
#8F286E #8F7C28 #288F49 #283B8F
square
#8F286E #8F7C28 #288F49 #283B8F
split-complementary
#8F286E #3B8F28 #288F7C
monochromatic
#2F0D24 #5F1B49 #8F286E #BF3593 #D25FAD

Accessibility & contrast

On white

7.79
#8F286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F286E
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F286E#FFFFFF#000000##FFFFFF
##8F286E1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324770
Deuteranopia (green-blind)
#52586C
Tritanopia (blue-blind)
#982847
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f286e;
/* rgb */ color: rgb(143, 40, 110);
/* oklch */ color: oklch(46.0% 0.157 343.4);
Tailwind
colors: {
  custom: {
    50: '#b36b97',
    500: '#8f286e',
    950: '#000000',
  },
}
SCSS
$custom: #8f286e;
$custom-light: #b36b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8f286e",
  "rgb": {
    "r": 143,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 319.223,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46012,
    "c": 0.15673,
    "h": 343.4
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#8F286E
secondary
#5BB879
accent
#E07948
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8F286E

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

Preview Lab → · Contrast checker → · Palette generator →

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