#8E1758#8E1758

#8E1758 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.162 H 353.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8E1758
RGBrgb(142, 23, 88)
HSLhsl(327, 72%, 32%)
HSVhsv(327, 84%, 56%)
CMYKcmyk(0%, 83.8%, 38%, 44.3%)
CIE-LABlab(31.97, 52.34, -7.23)
CIE-LCHlch(31.97, 52.84, 352.13°)
OKLaboklab(43.5% 0.161 -0.0185)
OKLCHoklch(43.5% 0.162 353.4)
XYZxyz(13.2241, 7.0698, 9.8989)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1758 #178E4D
analogous
#89178E #8E1758 #8E171C
triadic
#8E1758 #588E17 #17588E
tetradic
#8E1758 #8E8917 #178E4D #171C8E
square
#8E1758 #8E8917 #178E4D #171C8E
split-complementary
#8E1758 #1C8E17 #178E89
monochromatic
#250617 #590E37 #8E1758 #C32079 #E03F97

Accessibility & contrast

On white

8.70
#8E1758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1758
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1758#FFFFFF#000000##FFFFFF
##8E17581.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D5A
Deuteranopia (green-blind)
#525355
Tritanopia (blue-blind)
#9A0436
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1758;
/* rgb */ color: rgb(142, 23, 88);
/* oklch */ color: oklch(43.5% 0.162 353.4);
Tailwind
colors: {
  custom: {
    50: '#b46487',
    500: '#8e1758',
    950: '#000000',
  },
}
SCSS
$custom: #8e1758;
$custom-light: #b46487;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1758",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 327.227,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.16206,
    "h": 353.4
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#8E1758
secondary
#40C07A
accent
#EF8B39
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1758

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

Preview Lab → · Contrast checker → · Palette generator →

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