#8E196F#8E196F

#8E196F is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.173 H 341.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8E196F
RGBrgb(142, 25, 111)
HSLhsl(316, 70%, 33%)
HSVhsv(316, 82%, 56%)
CMYKcmyk(0%, 82.4%, 21.8%, 44.3%)
CIE-LABlab(33.13, 54.63, -20.28)
CIE-LCHlch(33.13, 58.28, 339.64°)
OKLaboklab(44.65% 0.1643 -0.0546)
OKLCHoklch(44.65% 0.173 341.6)
XYZxyz(14.3727, 7.5953, 15.7450)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E196F #198E38
analogous
#72198E #8E196F #8E1935
triadic
#8E196F #6F8E19 #196F8E
tetradic
#8E196F #8E7219 #198E38 #19358E
square
#8E196F #8E7219 #198E38 #19358E
split-complementary
#8E196F #358E19 #198E72
monochromatic
#26071E #5A1046 #8E196F #C22298 #DE43B5

Accessibility & contrast

On white

8.34
#8E196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8E196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E196F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E196F#FFFFFF#000000##FFFFFF
##8E196F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#971C43
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e196f;
/* rgb */ color: rgb(142, 25, 111);
/* oklch */ color: oklch(44.7% 0.173 341.6);
Tailwind
colors: {
  custom: {
    50: '#b36598',
    500: '#8e196f',
    950: '#000000',
  },
}
SCSS
$custom: #8e196f;
$custom-light: #b36598;
$custom-dark: #000000;
JSON
{
  "hex": "#8e196f",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 315.897,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44654,
    "c": 0.17308,
    "h": 341.6
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#8E196F
secondary
#44BF64
accent
#ED6A3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8E196F

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

Preview Lab → · Contrast checker → · Palette generator →

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