#8C196B#8C196B

#8C196B is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.1% C 0.169 H 342.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8C196B
RGBrgb(140, 25, 107)
HSLhsl(317, 70%, 32%)
HSVhsv(317, 82%, 55%)
CMYKcmyk(0%, 82.1%, 23.6%, 45.1%)
CIE-LABlab(32.55, 53.62, -18.64)
CIE-LCHlch(32.55, 56.76, 340.83°)
OKLaboklab(44.11% 0.1618 -0.05)
OKLCHoklch(44.11% 0.169 342.8)
XYZxyz(13.8172, 7.3337, 14.5950)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C196B #198C3A
analogous
#73198C #8C196B #8C1932
triadic
#8C196B #6B8C19 #196B8C
tetradic
#8C196B #8C7319 #198C3A #19328C
square
#8C196B #8C7319 #198C3A #19328C
split-complementary
#8C196B #328C19 #198C73
monochromatic
#24061C #581043 #8C196B #C02293 #DD42B1

Accessibility & contrast

On white

8.51
#8C196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C196B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C196B#FFFFFF#000000##FFFFFF
##8C196B1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416D
Deuteranopia (green-blind)
#4B5368
Tritanopia (blue-blind)
#951A41
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8c196b;
/* rgb */ color: rgb(140, 25, 107);
/* oklch */ color: oklch(44.1% 0.169 342.8);
Tailwind
colors: {
  custom: {
    50: '#b26595',
    500: '#8c196b',
    950: '#000000',
  },
}
SCSS
$custom: #8c196b;
$custom-light: #b26595;
$custom-dark: #000000;
JSON
{
  "hex": "#8c196b",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 317.217,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44111,
    "c": 0.16934,
    "h": 342.8
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

primary
#8C196B
secondary
#43BE66
accent
#ED6E3B
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8C196B

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

Preview Lab → · Contrast checker → · Palette generator →

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