#8E286C#8E286C

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

Color values

HEX#8E286C
RGBrgb(142, 40, 108)
HSLhsl(320, 56%, 36%)
HSVhsv(320, 72%, 56%)
CMYKcmyk(0%, 71.8%, 23.9%, 44.3%)
CIE-LABlab(34.71, 49.35, -15.93)
CIE-LCHlch(34.71, 51.85, 342.11°)
OKLaboklab(45.76% 0.1488 -0.0425)
OKLCHoklch(45.76% 0.155 344.1)
XYZxyz(14.6214, 8.3526, 15.0266)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E286C #288E4A
analogous
#7D288E #8E286C #8E2839
triadic
#8E286C #6C8E28 #286C8E
tetradic
#8E286C #8E7D28 #288E4A #28398E
square
#8E286C #8E7D28 #288E4A #28398E
split-complementary
#8E286C #398E28 #288E7D
monochromatic
#2F0D23 #5E1B48 #8E286C #BE3590 #D25FAB

Accessibility & contrast

On white

7.86
#8E286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E286C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E286C#FFFFFF#000000##FFFFFF
##8E286C1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e286c;
/* rgb */ color: rgb(142, 40, 108);
/* oklch */ color: oklch(45.8% 0.155 344.1);
Tailwind
colors: {
  custom: {
    50: '#b36b96',
    500: '#8e286c',
    950: '#000000',
  },
}
SCSS
$custom: #8e286c;
$custom-light: #b36b96;
$custom-dark: #000000;
JSON
{
  "hex": "#8e286c",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 320,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45757,
    "c": 0.15471,
    "h": 344.1
  },
  "luminance": 0.08351
}

Semantic roles & 50–950 ramp

primary
#8E286C
secondary
#5BB779
accent
#DF7B48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E286C

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

Preview Lab → · Contrast checker → · Palette generator →

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