#8E1757#8E1757

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

Color values

HEX#8E1757
RGBrgb(142, 23, 87)
HSLhsl(328, 72%, 32%)
HSVhsv(328, 84%, 56%)
CMYKcmyk(0%, 83.8%, 38.7%, 44.3%)
CIE-LABlab(31.93, 52.23, -6.63)
CIE-LCHlch(31.93, 52.65, 352.76°)
OKLaboklab(43.46% 0.1607 -0.0169)
OKLCHoklch(43.46% 0.162 354)
XYZxyz(13.1829, 7.0534, 9.6822)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1757 #178E4E
analogous
#89178E #8E1757 #8E171C
triadic
#8E1757 #578E17 #17578E
tetradic
#8E1757 #8E8917 #178E4E #171C8E
square
#8E1757 #8E8917 #178E4E #171C8E
split-complementary
#8E1757 #1C8E17 #178E89
monochromatic
#250616 #590E37 #8E1757 #C32077 #E03F96

Accessibility & contrast

On white

8.71
#8E1757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1757
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1757#FFFFFF#000000##FFFFFF
##8E17571.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D59
Deuteranopia (green-blind)
#525354
Tritanopia (blue-blind)
#9A0335
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1757;
/* rgb */ color: rgb(142, 23, 87);
/* oklch */ color: oklch(43.5% 0.162 354.0);
Tailwind
colors: {
  custom: {
    50: '#b46486',
    500: '#8e1757',
    950: '#000000',
  },
}
SCSS
$custom: #8e1757;
$custom-light: #b46486;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1757",
  "rgb": {
    "r": 142,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 327.731,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43456,
    "c": 0.1616,
    "h": 354
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#8E1757
secondary
#40C07C
accent
#EF8D39
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1757

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

Preview Lab → · Contrast checker → · Palette generator →

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