#8E1870#8E1870

#8E1870 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.6% C 0.175 H 341.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#8E1870
RGBrgb(142, 24, 112)
HSLhsl(315, 71%, 33%)
HSVhsv(315, 83%, 56%)
CMYKcmyk(0%, 83.1%, 21.1%, 44.3%)
CIE-LABlab(33.08, 55.03, -20.98)
CIE-LCHlch(33.08, 58.89, 339.13°)
OKLaboklab(44.64% 0.1652 -0.0566)
OKLCHoklch(44.64% 0.175 341.1)
XYZxyz(14.4071, 7.5754, 16.0296)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1870 #188E36
analogous
#71188E #8E1870 #8E1835
triadic
#8E1870 #708E18 #18708E
tetradic
#8E1870 #8E7118 #188E36 #18358E
square
#8E1870 #8E7118 #188E36 #18358E
split-complementary
#8E1870 #358E18 #188E71
monochromatic
#25061D #5A0F47 #8E1870 #C22199 #DF41B7

Accessibility & contrast

On white

8.35
#8E1870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E1870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1870
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1870#FFFFFF#000000##FFFFFF
##8E18701.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244272
Deuteranopia (green-blind)
#4B546D
Tritanopia (blue-blind)
#971B43
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1870;
/* rgb */ color: rgb(142, 24, 112);
/* oklch */ color: oklch(44.6% 0.175 341.1);
Tailwind
colors: {
  custom: {
    50: '#b36599',
    500: '#8e1870',
    950: '#000000',
  },
}
SCSS
$custom: #8e1870;
$custom-light: #b36599;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1870",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 315.254,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44639,
    "c": 0.17461,
    "h": 341.1
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#8E1870
secondary
#42C062
accent
#EE683A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1870

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

Preview Lab → · Contrast checker → · Palette generator →

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