#8E196C#8E196C

#8E196C is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.171 H 343.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8E196C
RGBrgb(142, 25, 108)
HSLhsl(317, 70%, 33%)
HSVhsv(317, 82%, 56%)
CMYKcmyk(0%, 82.4%, 23.9%, 44.3%)
CIE-LABlab(32.98, 54.23, -18.58)
CIE-LCHlch(32.98, 57.33, 341.09°)
OKLaboklab(44.51% 0.1638 -0.0498)
OKLCHoklch(44.51% 0.171 343.1)
XYZxyz(14.2103, 7.5303, 14.8896)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E196C #198E3B
analogous
#75198E #8E196C #8E1931
triadic
#8E196C #6C8E19 #196C8E
tetradic
#8E196C #8E7519 #198E3B #19318E
square
#8E196C #8E7519 #198E3B #19318E
split-complementary
#8E196C #318E19 #198E75
monochromatic
#26071D #5A1044 #8E196C #C22294 #DE43B1

Accessibility & contrast

On white

8.38
#8E196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E196C
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E196C#FFFFFF#000000##FFFFFF
##8E196C1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416E
Deuteranopia (green-blind)
#4D5469
Tritanopia (blue-blind)
#981941
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e196c;
/* rgb */ color: rgb(142, 25, 108);
/* oklch */ color: oklch(44.5% 0.171 343.1);
Tailwind
colors: {
  custom: {
    50: '#b36596',
    500: '#8e196c',
    950: '#000000',
  },
}
SCSS
$custom: #8e196c;
$custom-light: #b36596;
$custom-dark: #000000;
JSON
{
  "hex": "#8e196c",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 317.436,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44507,
    "c": 0.17121,
    "h": 343.1
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#8E196C
secondary
#44BF68
accent
#ED6F3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E196C

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

Preview Lab → · Contrast checker → · Palette generator →

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