#8E286A#8E286A

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

Color values

HEX#8E286A
RGBrgb(142, 40, 106)
HSLhsl(321, 56%, 36%)
HSVhsv(321, 72%, 56%)
CMYKcmyk(0%, 71.8%, 25.4%, 44.3%)
CIE-LABlab(34.62, 49.07, -14.79)
CIE-LCHlch(34.62, 51.25, 343.23°)
OKLaboklab(45.67% 0.1483 -0.0393)
OKLCHoklch(45.67% 0.153 345.2)
XYZxyz(14.5162, 8.3105, 14.4725)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E286A #288E4C
analogous
#7F288E #8E286A #8E2837
triadic
#8E286A #6A8E28 #286A8E
tetradic
#8E286A #8E7F28 #288E4C #28378E
square
#8E286A #8E7F28 #288E4C #28378E
split-complementary
#8E286A #378E28 #288E7F
monochromatic
#2F0D23 #5E1B46 #8E286A #BE358E #D25FA9

Accessibility & contrast

On white

7.89
#8E286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E286A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E286A#FFFFFF#000000##FFFFFF
##8E286A1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34466C
Deuteranopia (green-blind)
#525868
Tritanopia (blue-blind)
#982645
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e286a;
/* rgb */ color: rgb(142, 40, 106);
/* oklch */ color: oklch(45.7% 0.153 345.2);
Tailwind
colors: {
  custom: {
    50: '#b36b94',
    500: '#8e286a',
    950: '#000000',
  },
}
SCSS
$custom: #8e286a;
$custom-light: #b36b94;
$custom-dark: #000000;
JSON
{
  "hex": "#8e286a",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 321.176,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.15345,
    "h": 345.2
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#8E286A
secondary
#5BB77B
accent
#DF7E48
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E286A

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

Preview Lab → · Contrast checker → · Palette generator →

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