#8E1B5C#8E1B5C

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

Color values

HEX#8E1B5C
RGBrgb(142, 27, 92)
HSLhsl(326, 68%, 33%)
HSVhsv(326, 81%, 56%)
CMYKcmyk(0%, 81%, 35.2%, 44.3%)
CIE-LABlab(32.50, 51.69, -9.03)
CIE-LCHlch(32.50, 52.48, 350.09°)
OKLaboklab(43.93% 0.1586 -0.0234)
OKLCHoklch(43.93% 0.16 351.6)
XYZxyz(13.4799, 7.3090, 10.8241)
Luminance0.0731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B5C #1B8E4D
analogous
#861B8E #8E1B5C #8E1B22
triadic
#8E1B5C #5C8E1B #1B5C8E
tetradic
#8E1B5C #8E861B #1B8E4D #1B228E
square
#8E1B5C #8E861B #1B8E4D #1B228E
split-complementary
#8E1B5C #228E1B #1B8E86
monochromatic
#270719 #5B113B #8E1B5C #C1257D #DC479B

Accessibility & contrast

On white

8.53
#8E1B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1B5C
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B5C#FFFFFF#000000##FFFFFF
##8E1B5C1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313F5E
Deuteranopia (green-blind)
#525459
Tritanopia (blue-blind)
#990F39
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e1b5c;
/* rgb */ color: rgb(142, 27, 92);
/* oklch */ color: oklch(43.9% 0.160 351.6);
Tailwind
colors: {
  custom: {
    50: '#b4658a',
    500: '#8e1b5c',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b5c;
$custom-light: #b4658a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b5c",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 326.087,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43934,
    "c": 0.16033,
    "h": 351.6
  },
  "luminance": 0.07307
}

Semantic roles & 50–950 ramp

primary
#8E1B5C
secondary
#47BE7B
accent
#EB893D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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