#8E1874#8E1874

#8E1874 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.177 H 339.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8E1874
RGBrgb(142, 24, 116)
HSLhsl(313, 71%, 33%)
HSVhsv(313, 83%, 56%)
CMYKcmyk(0%, 83.1%, 18.3%, 44.3%)
CIE-LABlab(33.28, 55.58, -23.21)
CIE-LCHlch(33.28, 60.24, 337.33°)
OKLaboklab(44.84% 0.1657 -0.0629)
OKLCHoklch(44.84% 0.177 339.2)
XYZxyz(14.6348, 7.6665, 17.2287)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1874 #188E32
analogous
#6D188E #8E1874 #8E1839
triadic
#8E1874 #748E18 #18748E
tetradic
#8E1874 #8E6D18 #188E32 #18398E
square
#8E1874 #8E6D18 #188E32 #18398E
split-complementary
#8E1874 #398E18 #188E6D
monochromatic
#25061E #5A0F49 #8E1874 #C2219F #DF41BC

Accessibility & contrast

On white

8.29
#8E1874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E1874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1874
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1874#FFFFFF#000000##FFFFFF
##8E18741.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214376
Deuteranopia (green-blind)
#495571
Tritanopia (blue-blind)
#971E46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1874;
/* rgb */ color: rgb(142, 24, 116);
/* oklch */ color: oklch(44.8% 0.177 339.2);
Tailwind
colors: {
  custom: {
    50: '#b3659c',
    500: '#8e1874',
    950: '#000000',
  },
}
SCSS
$custom: #8e1874;
$custom-light: #b3659c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1874",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 313.22,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44844,
    "c": 0.1772,
    "h": 339.2
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#8E1874
secondary
#42C05E
accent
#EE623A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1874

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

Preview Lab → · Contrast checker → · Palette generator →

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