#8E156D#8E156D

#8E156D is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.3% C 0.175 H 342.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8E156D
RGBrgb(142, 21, 109)
HSLhsl(316, 74%, 32%)
HSVhsv(316, 85%, 56%)
CMYKcmyk(0%, 85.2%, 23.2%, 44.3%)
CIE-LABlab(32.68, 55.36, -19.69)
CIE-LCHlch(32.68, 58.76, 340.43°)
OKLaboklab(44.31% 0.167 -0.0529)
OKLCHoklch(44.31% 0.175 342.4)
XYZxyz(14.1844, 7.3928, 15.1450)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E156D #158E36
analogous
#73158E #8E156D #8E1530
triadic
#8E156D #6D8E15 #156D8E
tetradic
#8E156D #8E7315 #158E36 #15308E
square
#8E156D #8E7315 #158E36 #15308E
split-complementary
#8E156D #308E15 #158E73
monochromatic
#23051B #590D44 #8E156D #C31D96 #E23BB5

Accessibility & contrast

On white

8.47
#8E156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8E156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E156D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E156D#FFFFFF#000000##FFFFFF
##8E156D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24406F
Deuteranopia (green-blind)
#4B546A
Tritanopia (blue-blind)
#971741
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e156d;
/* rgb */ color: rgb(142, 21, 109);
/* oklch */ color: oklch(44.3% 0.175 342.4);
Tailwind
colors: {
  custom: {
    50: '#b36497',
    500: '#8e156d',
    950: '#000000',
  },
}
SCSS
$custom: #8e156d;
$custom-light: #b36497;
$custom-dark: #000000;
JSON
{
  "hex": "#8e156d",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 316.364,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.44306,
    "c": 0.1752,
    "h": 342.4
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#8E156D
secondary
#3DC261
accent
#F16A37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E156D

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

Preview Lab → · Contrast checker → · Palette generator →

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