#8E1374#8E1374

#8E1374 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.181 H 339.1°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8E1374
RGBrgb(142, 19, 116)
HSLhsl(313, 76%, 32%)
HSVhsv(313, 87%, 56%)
CMYKcmyk(0%, 86.6%, 18.3%, 44.3%)
CIE-LABlab(32.87, 56.76, -23.85)
CIE-LCHlch(32.87, 61.56, 337.21°)
OKLaboklab(44.55% 0.1692 -0.0647)
OKLCHoklch(44.55% 0.181 339.1)
XYZxyz(14.5410, 7.4790, 17.1974)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1374 #138E2D
analogous
#6B138E #8E1374 #8E1337
triadic
#8E1374 #748E13 #13748E
tetradic
#8E1374 #8E6B13 #138E2D #13378E
square
#8E1374 #8E6B13 #138E2D #13378E
split-complementary
#8E1374 #378E13 #138E6B
monochromatic
#22051C #580C48 #8E1374 #C41AA0 #E437C0

Accessibility & contrast

On white

8.42
#8E1374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E1374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1374
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1374#FFFFFF#000000##FFFFFF
##8E13741.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#485471
Tritanopia (blue-blind)
#971A45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1374;
/* rgb */ color: rgb(142, 19, 116);
/* oklch */ color: oklch(44.6% 0.181 339.1);
Tailwind
colors: {
  custom: {
    50: '#b3649c',
    500: '#8e1374',
    950: '#000000',
  },
}
SCSS
$custom: #8e1374;
$custom-light: #b3649c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1374",
  "rgb": {
    "r": 142,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 312.683,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44553,
    "c": 0.18116,
    "h": 339.1
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#8E1374
secondary
#3BC257
accent
#F35D35
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1374

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

Preview Lab → · Contrast checker → · Palette generator →

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