#8E1756#8E1756

#8E1756 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.161 H 354.6°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8E1756
RGBrgb(142, 23, 86)
HSLhsl(328, 72%, 32%)
HSVhsv(328, 84%, 56%)
CMYKcmyk(0%, 83.8%, 39.4%, 44.3%)
CIE-LABlab(31.89, 52.12, -6.04)
CIE-LCHlch(31.89, 52.47, 353.39°)
OKLaboklab(43.42% 0.1604 -0.0153)
OKLCHoklch(43.42% 0.161 354.6)
XYZxyz(13.1424, 7.0372, 9.4685)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1756 #178E4F
analogous
#8A178E #8E1756 #8E171B
triadic
#8E1756 #568E17 #17568E
tetradic
#8E1756 #8E8A17 #178E4F #171B8E
square
#8E1756 #8E8A17 #178E4F #171B8E
split-complementary
#8E1756 #1B8E17 #178E8A
monochromatic
#250616 #590E36 #8E1756 #C32076 #E03F94

Accessibility & contrast

On white

8.72
#8E1756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E1756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1756
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1756#FFFFFF#000000##FFFFFF
##8E17561.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D57
Deuteranopia (green-blind)
#535353
Tritanopia (blue-blind)
#9A0235
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1756;
/* rgb */ color: rgb(142, 23, 86);
/* oklch */ color: oklch(43.4% 0.161 354.6);
Tailwind
colors: {
  custom: {
    50: '#b46485',
    500: '#8e1756',
    950: '#000000',
  },
}
SCSS
$custom: #8e1756;
$custom-light: #b46485;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1756",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 328.235,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43417,
    "c": 0.16116,
    "h": 354.6
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#8E1756
secondary
#40C07D
accent
#EF8F39
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1756

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

Preview Lab → · Contrast checker → · Palette generator →

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