#8E1B5D#8E1B5D

#8E1B5D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.161 H 351.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8E1B5D
RGBrgb(142, 27, 93)
HSLhsl(326, 68%, 33%)
HSVhsv(326, 81%, 56%)
CMYKcmyk(0%, 81%, 34.5%, 44.3%)
CIE-LABlab(32.54, 51.81, -9.62)
CIE-LCHlch(32.54, 52.70, 349.48°)
OKLaboklab(43.97% 0.1589 -0.025)
OKLCHoklch(43.97% 0.161 351.1)
XYZxyz(13.5239, 7.3266, 11.0558)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B5D #1B8E4C
analogous
#851B8E #8E1B5D #8E1B24
triadic
#8E1B5D #5D8E1B #1B5D8E
tetradic
#8E1B5D #8E851B #1B8E4C #1B248E
square
#8E1B5D #8E851B #1B8E4C #1B248E
split-complementary
#8E1B5D #248E1B #1B8E85
monochromatic
#27071A #5B113B #8E1B5D #C1257F #DC479D

Accessibility & contrast

On white

8.52
#8E1B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E1B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B5D
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B5D#FFFFFF#000000##FFFFFF
##8E1B5D1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5F
Deuteranopia (green-blind)
#52545A
Tritanopia (blue-blind)
#99103A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1b5d;
/* rgb */ color: rgb(142, 27, 93);
/* oklch */ color: oklch(44.0% 0.161 351.1);
Tailwind
colors: {
  custom: {
    50: '#b4658b',
    500: '#8e1b5d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b5d;
$custom-light: #b4658b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b5d",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 325.565,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43975,
    "c": 0.16084,
    "h": 351.1
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#8E1B5D
secondary
#47BE7A
accent
#EB873D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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