#8E1B5E#8E1B5E

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

Color values

HEX#8E1B5E
RGBrgb(142, 27, 94)
HSLhsl(325, 68%, 33%)
HSVhsv(325, 81%, 56%)
CMYKcmyk(0%, 81%, 33.8%, 44.3%)
CIE-LABlab(32.58, 51.93, -10.21)
CIE-LCHlch(32.58, 52.92, 348.88°)
OKLaboklab(44.02% 0.1591 -0.0266)
OKLCHoklch(44.02% 0.161 350.5)
XYZxyz(13.5684, 7.3444, 11.2906)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B5E #1B8E4B
analogous
#841B8E #8E1B5E #8E1B25
triadic
#8E1B5E #5E8E1B #1B5E8E
tetradic
#8E1B5E #8E841B #1B8E4B #1B258E
square
#8E1B5E #8E841B #1B8E4B #1B258E
split-complementary
#8E1B5E #258E1B #1B8E84
monochromatic
#27071A #5B113C #8E1B5E #C12580 #DC479E

Accessibility & contrast

On white

8.51
#8E1B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1B5E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B5E#FFFFFF#000000##FFFFFF
##8E1B5E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304060
Deuteranopia (green-blind)
#51545B
Tritanopia (blue-blind)
#99113A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1b5e;
/* rgb */ color: rgb(142, 27, 94);
/* oklch */ color: oklch(44.0% 0.161 350.5);
Tailwind
colors: {
  custom: {
    50: '#b3658b',
    500: '#8e1b5e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b5e;
$custom-light: #b3658b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b5e",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 325.043,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44017,
    "c": 0.16134,
    "h": 350.5
  },
  "luminance": 0.07343
}

Semantic roles & 50–950 ramp

primary
#8E1B5E
secondary
#47BE79
accent
#EB863D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8E1B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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