#8E154D#8E154D

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

Color values

HEX#8E154D
RGBrgb(142, 21, 77)
HSLhsl(332, 74%, 32%)
HSVhsv(332, 85%, 56%)
CMYKcmyk(0%, 85.2%, 45.8%, 44.3%)
CIE-LABlab(31.40, 51.72, -0.85)
CIE-LCHlch(31.40, 51.73, 359.06°)
OKLaboklab(42.96% 0.1592 -0.0016)
OKLCHoklch(42.96% 0.159 359.4)
XYZxyz(12.7641, 6.8247, 7.6649)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E154D #158E56
analogous
#8E158A #8E154D #8E1915
triadic
#8E154D #4D8E15 #154D8E
tetradic
#8E154D #8A8E15 #158E56 #19158E
square
#8E154D #8A8E15 #158E56 #19158E
split-complementary
#8E154D #158E19 #158A8E
monochromatic
#230513 #590D30 #8E154D #C31D6A #E23B89

Accessibility & contrast

On white

8.88
#8E154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E154D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E154D#FFFFFF#000000##FFFFFF
##8E154D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4E
Deuteranopia (green-blind)
#54524A
Tritanopia (blue-blind)
#9B0030
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e154d;
/* rgb */ color: rgb(142, 21, 77);
/* oklch */ color: oklch(43.0% 0.159 359.4);
Tailwind
colors: {
  custom: {
    50: '#b4637e',
    500: '#8e154d',
    950: '#000000',
  },
}
SCSS
$custom: #8e154d;
$custom-light: #b4637e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e154d",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 332.231,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4296,
    "c": 0.1592,
    "h": 359.4
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#8E154D
secondary
#3DC284
accent
#F19B37
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E154D

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

Preview Lab → · Contrast checker → · Palette generator →

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