#8E196D#8E196D

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

Color values

HEX#8E196D
RGBrgb(142, 25, 109)
HSLhsl(317, 70%, 33%)
HSVhsv(317, 82%, 56%)
CMYKcmyk(0%, 82.4%, 23.2%, 44.3%)
CIE-LABlab(33.03, 54.37, -19.15)
CIE-LCHlch(33.03, 57.64, 340.60°)
OKLaboklab(44.56% 0.164 -0.0514)
OKLCHoklch(44.56% 0.172 342.6)
XYZxyz(14.2638, 7.5517, 15.1715)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E196D #198E3A
analogous
#74198E #8E196D #8E1932
triadic
#8E196D #6D8E19 #196D8E
tetradic
#8E196D #8E7419 #198E3A #19328E
square
#8E196D #8E7419 #198E3A #19328E
split-complementary
#8E196D #328E19 #198E74
monochromatic
#26071D #5A1045 #8E196D #C22295 #DE43B2

Accessibility & contrast

On white

8.37
#8E196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E196D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E196D#FFFFFF#000000##FFFFFF
##8E196D1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27426F
Deuteranopia (green-blind)
#4C546A
Tritanopia (blue-blind)
#971A42
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e196d;
/* rgb */ color: rgb(142, 25, 109);
/* oklch */ color: oklch(44.6% 0.172 342.6);
Tailwind
colors: {
  custom: {
    50: '#b36597',
    500: '#8e196d',
    950: '#000000',
  },
}
SCSS
$custom: #8e196d;
$custom-light: #b36597;
$custom-dark: #000000;
JSON
{
  "hex": "#8e196d",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 316.923,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.17183,
    "h": 342.6
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#8E196D
secondary
#44BF67
accent
#ED6D3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E196D

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

Preview Lab → · Contrast checker → · Palette generator →

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