#8E1857#8E1857

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

Color values

HEX#8E1857
RGBrgb(142, 24, 87)
HSLhsl(328, 71%, 33%)
HSVhsv(328, 83%, 56%)
CMYKcmyk(0%, 83.1%, 38.7%, 44.3%)
CIE-LABlab(32.02, 51.97, -6.50)
CIE-LCHlch(32.02, 52.37, 352.87°)
OKLaboklab(43.52% 0.1599 -0.0165)
OKLCHoklch(43.52% 0.161 354.1)
XYZxyz(13.2032, 7.0939, 9.6890)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1857 #188E4F
analogous
#8A188E #8E1857 #8E181C
triadic
#8E1857 #578E18 #18578E
tetradic
#8E1857 #8E8A18 #188E4F #181C8E
square
#8E1857 #8E8A18 #188E4F #181C8E
split-complementary
#8E1857 #1C8E18 #188E8A
monochromatic
#250617 #5A0F37 #8E1857 #C22177 #DF4196

Accessibility & contrast

On white

8.68
#8E1857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E1857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1857
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1857#FFFFFF#000000##FFFFFF
##8E18571.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1857;
/* rgb */ color: rgb(142, 24, 87);
/* oklch */ color: oklch(43.5% 0.161 354.1);
Tailwind
colors: {
  custom: {
    50: '#b46486',
    500: '#8e1857',
    950: '#000000',
  },
}
SCSS
$custom: #8e1857;
$custom-light: #b46486;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1857",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 327.966,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43523,
    "c": 0.16073,
    "h": 354.1
  },
  "luminance": 0.07092
}

Semantic roles & 50–950 ramp

primary
#8E1857
secondary
#42C07D
accent
#EE8E3A
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1857

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

Preview Lab → · Contrast checker → · Palette generator →

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