#8E286B#8E286B

#8E286B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.154 H 344.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8E286B
RGBrgb(142, 40, 107)
HSLhsl(321, 56%, 36%)
HSVhsv(321, 72%, 56%)
CMYKcmyk(0%, 71.8%, 24.6%, 44.3%)
CIE-LABlab(34.66, 49.21, -15.36)
CIE-LCHlch(34.66, 51.55, 342.66°)
OKLaboklab(45.71% 0.1485 -0.0409)
OKLCHoklch(45.71% 0.154 344.6)
XYZxyz(14.5685, 8.3314, 14.7480)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E286B #288E4B
analogous
#7E288E #8E286B #8E2838
triadic
#8E286B #6B8E28 #286B8E
tetradic
#8E286B #8E7E28 #288E4B #28388E
square
#8E286B #8E7E28 #288E4B #28388E
split-complementary
#8E286B #388E28 #288E7E
monochromatic
#2F0D23 #5E1B47 #8E286B #BE358F #D25FAA

Accessibility & contrast

On white

7.88
#8E286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E286B
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E286B#FFFFFF#000000##FFFFFF
##8E286B1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476D
Deuteranopia (green-blind)
#525869
Tritanopia (blue-blind)
#972746
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e286b;
/* rgb */ color: rgb(142, 40, 107);
/* oklch */ color: oklch(45.7% 0.154 344.6);
Tailwind
colors: {
  custom: {
    50: '#b36b95',
    500: '#8e286b',
    950: '#000000',
  },
}
SCSS
$custom: #8e286b;
$custom-light: #b36b95;
$custom-dark: #000000;
JSON
{
  "hex": "#8e286b",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 320.588,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45711,
    "c": 0.15407,
    "h": 344.6
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#8E286B
secondary
#5BB77A
accent
#DF7C48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E286B

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

Preview Lab → · Contrast checker → · Palette generator →

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