#8E146C#8E146C

#8E146C is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.2% C 0.175 H 342.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8E146C
RGBrgb(142, 20, 108)
HSLhsl(317, 75%, 32%)
HSVhsv(317, 86%, 56%)
CMYKcmyk(0%, 85.9%, 23.9%, 44.3%)
CIE-LABlab(32.56, 55.46, -19.24)
CIE-LCHlch(32.56, 58.70, 340.87°)
OKLaboklab(44.2% 0.1676 -0.0516)
OKLCHoklch(44.2% 0.175 342.9)
XYZxyz(14.1128, 7.3354, 14.8571)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E146C #148E36
analogous
#73148E #8E146C #8E142F
triadic
#8E146C #6C8E14 #146C8E
tetradic
#8E146C #8E7314 #148E36 #142F8E
square
#8E146C #8E7314 #148E36 #142F8E
split-complementary
#8E146C #2F8E14 #148E73
monochromatic
#23051A #580C43 #8E146C #C41C95 #E339B4

Accessibility & contrast

On white

8.51
#8E146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E146C
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E146C#FFFFFF#000000##FFFFFF
##8E146C1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24406E
Deuteranopia (green-blind)
#4B5469
Tritanopia (blue-blind)
#981540
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e146c;
/* rgb */ color: rgb(142, 20, 108);
/* oklch */ color: oklch(44.2% 0.175 342.9);
Tailwind
colors: {
  custom: {
    50: '#b36496',
    500: '#8e146c',
    950: '#000000',
  },
}
SCSS
$custom: #8e146c;
$custom-light: #b36496;
$custom-dark: #000000;
JSON
{
  "hex": "#8e146c",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 316.721,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.442,
    "c": 0.17537,
    "h": 342.9
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#8E146C
secondary
#3CC261
accent
#F26A36
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E146C

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

Preview Lab → · Contrast checker → · Palette generator →

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