#8A196F#8A196F

#8A196F is a dark, vivid pink. Relative luminance 0.072; OKLCH L 44.0% C 0.171 H 340.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8A196F
RGBrgb(138, 25, 111)
HSLhsl(314, 69%, 32%)
HSVhsv(314, 82%, 54%)
CMYKcmyk(0%, 81.9%, 19.6%, 45.9%)
CIE-LABlab(32.36, 53.68, -21.52)
CIE-LCHlch(32.36, 57.84, 338.16°)
OKLaboklab(43.97% 0.1605 -0.0582)
OKLCHoklch(43.97% 0.171 340.1)
XYZxyz(13.6985, 7.2476, 15.7134)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A196F #198A34
analogous
#6D198A #8A196F #8A1937
triadic
#8A196F #6F8A19 #196F8A
tetradic
#8A196F #8A6D19 #198A34 #19378A
square
#8A196F #8A6D19 #198A34 #19378A
split-complementary
#8A196F #378A19 #198A6D
monochromatic
#22061C #561045 #8A196F #BE2299 #DD41B7

Accessibility & contrast

On white

8.57
#8A196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#8A196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A196F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A196F#FFFFFF#000000##FFFFFF
##8A196F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224171
Deuteranopia (green-blind)
#48526C
Tritanopia (blue-blind)
#931D43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a196f;
/* rgb */ color: rgb(138, 25, 111);
/* oklch */ color: oklch(44.0% 0.171 340.1);
Tailwind
colors: {
  custom: {
    50: '#b06598',
    500: '#8a196f',
    950: '#000000',
  },
}
SCSS
$custom: #8a196f;
$custom-light: #b06598;
$custom-dark: #000000;
JSON
{
  "hex": "#8a196f",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 314.336,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43966,
    "c": 0.1707,
    "h": 340.1
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#8A196F
secondary
#42BD5F
accent
#EC663C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A196F

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

Preview Lab → · Contrast checker → · Palette generator →

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