#8E154B#8E154B

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

Color values

HEX#8E154B
RGBrgb(142, 21, 75)
HSLhsl(333, 74%, 32%)
HSVhsv(333, 85%, 56%)
CMYKcmyk(0%, 85.2%, 47.2%, 44.3%)
CIE-LABlab(31.34, 51.53, 0.38)
CIE-LCHlch(31.34, 51.53, 0.42°)
OKLaboklab(42.89% 0.1585 0.0015)
OKLCHoklch(42.89% 0.159 0.6)
XYZxyz(12.6946, 6.7969, 7.2987)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E154B #158E58
analogous
#8E1588 #8E154B #8E1B15
triadic
#8E154B #4B8E15 #154B8E
tetradic
#8E154B #888E15 #158E58 #1B158E
square
#8E154B #888E15 #158E58 #1B158E
split-complementary
#8E154B #158E1B #15888E
monochromatic
#230513 #590D2F #8E154B #C31D67 #E23B86

Accessibility & contrast

On white

8.90
#8E154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E154B
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E154B#FFFFFF#000000##FFFFFF
##8E154B1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4C
Deuteranopia (green-blind)
#555248
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e154b;
/* rgb */ color: rgb(142, 21, 75);
/* oklch */ color: oklch(42.9% 0.159 0.6);
Tailwind
colors: {
  custom: {
    50: '#b5637d',
    500: '#8e154b',
    950: '#000000',
  },
}
SCSS
$custom: #8e154b;
$custom-light: #b5637d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e154b",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 333.223,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42892,
    "c": 0.15851,
    "h": 0.6
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#8E154B
secondary
#3DC287
accent
#F19E37
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E154B

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

Preview Lab → · Contrast checker → · Palette generator →

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