#8E286E#8E286E

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

Color values

HEX#8E286E
RGBrgb(142, 40, 110)
HSLhsl(319, 56%, 36%)
HSVhsv(319, 72%, 56%)
CMYKcmyk(0%, 71.8%, 22.5%, 44.3%)
CIE-LABlab(34.79, 49.63, -17.06)
CIE-LCHlch(34.79, 52.48, 341.03°)
OKLaboklab(45.85% 0.1492 -0.0457)
OKLCHoklch(45.85% 0.156 343)
XYZxyz(14.7291, 8.3956, 15.5936)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E286E #288E48
analogous
#7B288E #8E286E #8E283B
triadic
#8E286E #6E8E28 #286E8E
tetradic
#8E286E #8E7B28 #288E48 #283B8E
square
#8E286E #8E7B28 #288E48 #283B8E
split-complementary
#8E286E #3B8E28 #288E7B
monochromatic
#2F0D24 #5E1B49 #8E286E #BE3593 #D25FAE

Accessibility & contrast

On white

7.84
#8E286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E286E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E286E#FFFFFF#000000##FFFFFF
##8E286E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e286e;
/* rgb */ color: rgb(142, 40, 110);
/* oklch */ color: oklch(45.8% 0.156 343.0);
Tailwind
colors: {
  custom: {
    50: '#b26b97',
    500: '#8e286e',
    950: '#000000',
  },
}
SCSS
$custom: #8e286e;
$custom-light: #b26b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e286e",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 318.824,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45848,
    "c": 0.156,
    "h": 343
  },
  "luminance": 0.08394
}

Semantic roles & 50–950 ramp

primary
#8E286E
secondary
#5BB778
accent
#DF7848
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E286E

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

Preview Lab → · Contrast checker → · Palette generator →

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