#8E286D#8E286D

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

Color values

HEX#8E286D
RGBrgb(142, 40, 109)
HSLhsl(319, 56%, 36%)
HSVhsv(319, 72%, 56%)
CMYKcmyk(0%, 71.8%, 23.2%, 44.3%)
CIE-LABlab(34.75, 49.49, -16.50)
CIE-LCHlch(34.75, 52.16, 341.56°)
OKLaboklab(45.8% 0.149 -0.0441)
OKLCHoklch(45.8% 0.155 343.5)
XYZxyz(14.6750, 8.3740, 15.3085)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E286D #288E49
analogous
#7C288E #8E286D #8E283A
triadic
#8E286D #6D8E28 #286D8E
tetradic
#8E286D #8E7C28 #288E49 #283A8E
square
#8E286D #8E7C28 #288E49 #283A8E
split-complementary
#8E286D #3A8E28 #288E7C
monochromatic
#2F0D24 #5E1B48 #8E286D #BE3592 #D25FAD

Accessibility & contrast

On white

7.85
#8E286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E286D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E286D#FFFFFF#000000##FFFFFF
##8E286D1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32476F
Deuteranopia (green-blind)
#51586B
Tritanopia (blue-blind)
#972847
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e286d;
/* rgb */ color: rgb(142, 40, 109);
/* oklch */ color: oklch(45.8% 0.155 343.5);
Tailwind
colors: {
  custom: {
    50: '#b36b97',
    500: '#8e286d',
    950: '#000000',
  },
}
SCSS
$custom: #8e286d;
$custom-light: #b36b97;
$custom-dark: #000000;
JSON
{
  "hex": "#8e286d",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 319.412,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45802,
    "c": 0.15535,
    "h": 343.5
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E286D

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

Preview Lab → · Contrast checker → · Palette generator →

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