#8E196E#8E196E

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

Color values

HEX#8E196E
RGBrgb(142, 25, 110)
HSLhsl(316, 70%, 33%)
HSVhsv(316, 82%, 56%)
CMYKcmyk(0%, 82.4%, 22.5%, 44.3%)
CIE-LABlab(33.08, 54.50, -19.71)
CIE-LCHlch(33.08, 57.95, 340.11°)
OKLaboklab(44.61% 0.1641 -0.053)
OKLCHoklch(44.61% 0.172 342.1)
XYZxyz(14.3180, 7.5734, 15.4566)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E196E #198E39
analogous
#73198E #8E196E #8E1934
triadic
#8E196E #6E8E19 #196E8E
tetradic
#8E196E #8E7319 #198E39 #19348E
square
#8E196E #8E7319 #198E39 #19348E
split-complementary
#8E196E #348E19 #198E73
monochromatic
#26071D #5A1046 #8E196E #C22296 #DE43B4

Accessibility & contrast

On white

8.35
#8E196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E196E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E196E#FFFFFF#000000##FFFFFF
##8E196E1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264270
Deuteranopia (green-blind)
#4C546B
Tritanopia (blue-blind)
#971B43
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e196e;
/* rgb */ color: rgb(142, 25, 110);
/* oklch */ color: oklch(44.6% 0.172 342.1);
Tailwind
colors: {
  custom: {
    50: '#b36597',
    500: '#8e196e',
    950: '#000000',
  },
}
SCSS
$custom: #8e196e;
$custom-light: #b36597;
$custom-dark: #000000;
JSON
{
  "hex": "#8e196e",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 316.41,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44605,
    "c": 0.17246,
    "h": 342.1
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#8E196E
secondary
#44BF65
accent
#ED6C3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #8E196E

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

Preview Lab → · Contrast checker → · Palette generator →

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