#8C196C#8C196C

#8C196C is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.170 H 342.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8C196C
RGBrgb(140, 25, 108)
HSLhsl(317, 70%, 32%)
HSVhsv(317, 82%, 55%)
CMYKcmyk(0%, 82.1%, 22.9%, 45.1%)
CIE-LABlab(32.60, 53.75, -19.21)
CIE-LCHlch(32.60, 57.08, 340.34°)
OKLaboklab(44.16% 0.162 -0.0516)
OKLCHoklch(44.16% 0.17 342.3)
XYZxyz(13.8701, 7.3549, 14.8736)
Luminance0.0735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C196C #198C39
analogous
#73198C #8C196C #8C1932
triadic
#8C196C #6C8C19 #196C8C
tetradic
#8C196C #8C7319 #198C39 #19328C
square
#8C196C #8C7319 #198C39 #19328C
split-complementary
#8C196C #328C19 #198C73
monochromatic
#24061C #581044 #8C196C #C02294 #DD42B2

Accessibility & contrast

On white

8.50
#8C196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8C196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C196C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C196C#FFFFFF#000000##FFFFFF
##8C196C1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416E
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#951A41
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c196c;
/* rgb */ color: rgb(140, 25, 108);
/* oklch */ color: oklch(44.2% 0.170 342.3);
Tailwind
colors: {
  custom: {
    50: '#b26596',
    500: '#8c196c',
    950: '#000000',
  },
}
SCSS
$custom: #8c196c;
$custom-light: #b26596;
$custom-dark: #000000;
JSON
{
  "hex": "#8c196c",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 316.696,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4416,
    "c": 0.16997,
    "h": 342.3
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#8C196C
secondary
#43BE65
accent
#ED6D3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8C196C

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

Preview Lab → · Contrast checker → · Palette generator →

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