#8E154E#8E154E

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

Color values

HEX#8E154E
RGBrgb(142, 21, 78)
HSLhsl(332, 74%, 32%)
HSVhsv(332, 85%, 56%)
CMYKcmyk(0%, 85.2%, 45.1%, 44.3%)
CIE-LABlab(31.44, 51.81, -1.46)
CIE-LCHlch(31.44, 51.83, 358.39°)
OKLaboklab(43% 0.1595 -0.0032)
OKLCHoklch(43% 0.16 358.8)
XYZxyz(12.7997, 6.8389, 7.8523)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E154E #158E55
analogous
#8E158A #8E154E #8E1915
triadic
#8E154E #4E8E15 #154E8E
tetradic
#8E154E #8A8E15 #158E55 #19158E
square
#8E154E #8A8E15 #158E55 #19158E
split-complementary
#8E154E #158E19 #158A8E
monochromatic
#230513 #590D31 #8E154E #C31D6B #E23B8A

Accessibility & contrast

On white

8.87
#8E154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E154E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E154E#FFFFFF#000000##FFFFFF
##8E154E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#54524B
Tritanopia (blue-blind)
#9A0030
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e154e;
/* rgb */ color: rgb(142, 21, 78);
/* oklch */ color: oklch(43.0% 0.160 358.8);
Tailwind
colors: {
  custom: {
    50: '#b4637f',
    500: '#8e154e',
    950: '#000000',
  },
}
SCSS
$custom: #8e154e;
$custom-light: #b4637f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e154e",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 331.736,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42995,
    "c": 0.15956,
    "h": 358.8
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#8E154E
secondary
#3DC283
accent
#F19937
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E154E

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

Preview Lab → · Contrast checker → · Palette generator →

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