#8E1174#8E1174

#8E1174 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.5% C 0.183 H 339.0°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8E1174
RGBrgb(142, 17, 116)
HSLhsl(312, 79%, 31%)
HSVhsv(312, 88%, 56%)
CMYKcmyk(0%, 88%, 18.3%, 44.3%)
CIE-LABlab(32.73, 57.17, -24.07)
CIE-LCHlch(32.73, 62.03, 337.17°)
OKLaboklab(44.45% 0.1705 -0.0653)
OKLCHoklch(44.45% 0.183 339)
XYZxyz(14.5086, 7.4141, 17.1866)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1174 #118E2B
analogous
#69118E #8E1174 #8E1135
triadic
#8E1174 #748E11 #11748E
tetradic
#8E1174 #8E6911 #118E2B #11358E
square
#8E1174 #8E6911 #118E2B #11358E
split-complementary
#8E1174 #358E11 #118E69
monochromatic
#21041B #570A47 #8E1174 #C518A1 #E733C1

Accessibility & contrast

On white

8.46
#8E1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8E1174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1174
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1174#FFFFFF#000000##FFFFFF
##8E11741.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4176
Deuteranopia (green-blind)
#485471
Tritanopia (blue-blind)
#971944
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1174;
/* rgb */ color: rgb(142, 17, 116);
/* oklch */ color: oklch(44.5% 0.183 339.0);
Tailwind
colors: {
  custom: {
    50: '#b3639c',
    500: '#8e1174',
    950: '#000000',
  },
}
SCSS
$custom: #8e1174;
$custom-light: #b3639c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1174",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 312.48,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44452,
    "c": 0.18255,
    "h": 339
  },
  "luminance": 0.07413
}

Semantic roles & 50–950 ramp

primary
#8E1174
secondary
#38C255
accent
#F55B33
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1174

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

Preview Lab → · Contrast checker → · Palette generator →

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