#8E1B5B#8E1B5B

#8E1B5B is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.160 H 352.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#8E1B5B
RGBrgb(142, 27, 91)
HSLhsl(327, 68%, 33%)
HSVhsv(327, 81%, 56%)
CMYKcmyk(0%, 81%, 35.9%, 44.3%)
CIE-LABlab(32.46, 51.58, -8.44)
CIE-LCHlch(32.46, 52.27, 350.71°)
OKLaboklab(43.89% 0.1584 -0.0218)
OKLCHoklch(43.89% 0.16 352.2)
XYZxyz(13.4364, 7.2916, 10.5954)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B5B #1B8E4E
analogous
#871B8E #8E1B5B #8E1B21
triadic
#8E1B5B #5B8E1B #1B5B8E
tetradic
#8E1B5B #8E871B #1B8E4E #1B218E
square
#8E1B5B #8E871B #1B8E4E #1B218E
split-complementary
#8E1B5B #218E1B #1B8E87
monochromatic
#270719 #5B113A #8E1B5B #C1257C #DC479A

Accessibility & contrast

On white

8.54
#8E1B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8E1B5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B5B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B5B#FFFFFF#000000##FFFFFF
##8E1B5B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5D
Deuteranopia (green-blind)
#525458
Tritanopia (blue-blind)
#990E39
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1b5b;
/* rgb */ color: rgb(142, 27, 91);
/* oklch */ color: oklch(43.9% 0.160 352.2);
Tailwind
colors: {
  custom: {
    50: '#b46589',
    500: '#8e1b5b',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b5b;
$custom-light: #b46589;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b5b",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 326.609,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43894,
    "c": 0.15984,
    "h": 352.2
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

primary
#8E1B5B
secondary
#47BE7C
accent
#EB8A3D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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