#8E154C#8E154C

#8E154C is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.159 H 360.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#8E154C
RGBrgb(142, 21, 76)
HSLhsl(333, 74%, 32%)
HSVhsv(333, 85%, 56%)
CMYKcmyk(0%, 85.2%, 46.5%, 44.3%)
CIE-LABlab(31.37, 51.62, -0.24)
CIE-LCHlch(31.37, 51.62, 359.74°)
OKLaboklab(42.93% 0.1589 0)
OKLCHoklch(42.93% 0.159 0)
XYZxyz(12.7291, 6.8107, 7.4804)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E154C #158E57
analogous
#8E1589 #8E154C #8E1A15
triadic
#8E154C #4C8E15 #154C8E
tetradic
#8E154C #898E15 #158E57 #1A158E
square
#8E154C #898E15 #158E57 #1A158E
split-complementary
#8E154C #158E1A #15898E
monochromatic
#230513 #590D2F #8E154C #C31D69 #E23B87

Accessibility & contrast

On white

8.89
#8E154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8E154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E154C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E154C#FFFFFF#000000##FFFFFF
##8E154C1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4D
Deuteranopia (green-blind)
#545249
Tritanopia (blue-blind)
#9B002F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e154c;
/* rgb */ color: rgb(142, 21, 76);
/* oklch */ color: oklch(42.9% 0.159 360.0);
Tailwind
colors: {
  custom: {
    50: '#b5637d',
    500: '#8e154c',
    950: '#000000',
  },
}
SCSS
$custom: #8e154c;
$custom-light: #b5637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e154c",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 332.727,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42926,
    "c": 0.15885,
    "h": 360
  },
  "luminance": 0.06809
}

Semantic roles & 50–950 ramp

primary
#8E154C
secondary
#3DC285
accent
#F19C37
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E154C

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

Preview Lab → · Contrast checker → · Palette generator →

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