#8E196B#8E196B

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

Color values

HEX#8E196B
RGBrgb(142, 25, 107)
HSLhsl(318, 70%, 33%)
HSVhsv(318, 82%, 56%)
CMYKcmyk(0%, 82.4%, 24.6%, 44.3%)
CIE-LABlab(32.94, 54.10, -18.02)
CIE-LCHlch(32.94, 57.02, 341.58°)
OKLaboklab(44.46% 0.1636 -0.0482)
OKLCHoklch(44.46% 0.171 343.6)
XYZxyz(14.1574, 7.5091, 14.6109)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E196B #198E3C
analogous
#77198E #8E196B #8E1930
triadic
#8E196B #6B8E19 #196B8E
tetradic
#8E196B #8E7719 #198E3C #19308E
square
#8E196B #8E7719 #198E3C #19308E
split-complementary
#8E196B #308E19 #198E77
monochromatic
#26071D #5A1044 #8E196B #C22292 #DE43B0

Accessibility & contrast

On white

8.39
#8E196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E196B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E196B#FFFFFF#000000##FFFFFF
##8E196B1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416D
Deuteranopia (green-blind)
#4D5468
Tritanopia (blue-blind)
#981941
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e196b;
/* rgb */ color: rgb(142, 25, 107);
/* oklch */ color: oklch(44.5% 0.171 343.6);
Tailwind
colors: {
  custom: {
    50: '#b36595',
    500: '#8e196b',
    950: '#000000',
  },
}
SCSS
$custom: #8e196b;
$custom-light: #b36595;
$custom-dark: #000000;
JSON
{
  "hex": "#8e196b",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 317.949,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44459,
    "c": 0.17058,
    "h": 343.6
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#8E196B
secondary
#44BF69
accent
#ED703B
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E196B

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

Preview Lab → · Contrast checker → · Palette generator →

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