#8E287D#8E287D

#8E287D is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.167 H 335.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8E287D
RGBrgb(142, 40, 125)
HSLhsl(310, 56%, 36%)
HSVhsv(310, 72%, 56%)
CMYKcmyk(0%, 71.8%, 12%, 44.3%)
CIE-LABlab(35.50, 51.87, -25.40)
CIE-LCHlch(35.50, 57.75, 333.91°)
OKLaboklab(46.59% 0.1515 -0.0693)
OKLCHoklch(46.59% 0.167 335.4)
XYZxyz(15.6160, 8.7504, 20.2646)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E287D #288E39
analogous
#6C288E #8E287D #8E284A
triadic
#8E287D #7D8E28 #287D8E
tetradic
#8E287D #8E6C28 #288E39 #284A8E
square
#8E287D #8E6C28 #288E39 #284A8E
split-complementary
#8E287D #4A8E28 #288E6C
monochromatic
#2F0D29 #5E1B53 #8E287D #BE35A7 #D25FBF

Accessibility & contrast

On white

7.64
#8E287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8E287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E287D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E287D#FFFFFF#000000##FFFFFF
##8E287D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#4B597B
Tritanopia (blue-blind)
#952F4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e287d;
/* rgb */ color: rgb(142, 40, 125);
/* oklch */ color: oklch(46.6% 0.167 335.4);
Tailwind
colors: {
  custom: {
    50: '#b26ca3',
    500: '#8e287d',
    950: '#000000',
  },
}
SCSS
$custom: #8e287d;
$custom-light: #b26ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e287d",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 310,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46591,
    "c": 0.16658,
    "h": 335.4
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#8E287D
secondary
#5BB76A
accent
#DF6248
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E287D

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

Preview Lab → · Contrast checker → · Palette generator →

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