#8E1674#8E1674

#8E1674 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.179 H 339.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8E1674
RGBrgb(142, 22, 116)
HSLhsl(313, 73%, 32%)
HSVhsv(313, 85%, 56%)
CMYKcmyk(0%, 84.5%, 18.3%, 44.3%)
CIE-LABlab(33.11, 56.08, -23.48)
CIE-LCHlch(33.11, 60.79, 337.28°)
OKLaboklab(44.72% 0.1672 -0.0637)
OKLCHoklch(44.72% 0.179 339.2)
XYZxyz(14.5950, 7.5871, 17.2154)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1674 #168E30
analogous
#6C168E #8E1674 #8E1638
triadic
#8E1674 #748E16 #16748E
tetradic
#8E1674 #8E6C16 #168E30 #16388E
square
#8E1674 #8E6C16 #168E30 #16388E
split-complementary
#8E1674 #388E16 #168E6C
monochromatic
#24061D #590E49 #8E1674 #C31E9F #E13DBE

Accessibility & contrast

On white

8.34
#8E1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8E1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1674
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1674#FFFFFF#000000##FFFFFF
##8E16741.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4276
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#971D45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1674;
/* rgb */ color: rgb(142, 22, 116);
/* oklch */ color: oklch(44.7% 0.179 339.2);
Tailwind
colors: {
  custom: {
    50: '#b3659c',
    500: '#8e1674',
    950: '#000000',
  },
}
SCSS
$custom: #8e1674;
$custom-light: #b3659c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1674",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 313,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44721,
    "c": 0.17887,
    "h": 339.2
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#8E1674
secondary
#3FC15B
accent
#F06038
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1674

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

Preview Lab → · Contrast checker → · Palette generator →

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