#8A196B#8A196B

#8A196B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.168 H 342.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8A196B
RGBrgb(138, 25, 107)
HSLhsl(316, 69%, 32%)
HSVhsv(316, 82%, 54%)
CMYKcmyk(0%, 81.9%, 22.5%, 45.9%)
CIE-LABlab(32.17, 53.13, -19.26)
CIE-LCHlch(32.17, 56.52, 340.07°)
OKLaboklab(43.77% 0.1599 -0.0518)
OKLCHoklch(43.77% 0.168 342.1)
XYZxyz(13.4832, 7.1615, 14.5793)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A196B #198A38
analogous
#71198A #8A196B #8A1933
triadic
#8A196B #6B8A19 #196B8A
tetradic
#8A196B #8A7119 #198A38 #19338A
square
#8A196B #8A7119 #198A38 #19338A
split-complementary
#8A196B #338A19 #198A71
monochromatic
#22061B #561043 #8A196B #BE2293 #DD41B2

Accessibility & contrast

On white

8.63
#8A196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A196B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A196B#FFFFFF#000000##FFFFFF
##8A196B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25406D
Deuteranopia (green-blind)
#4A5269
Tritanopia (blue-blind)
#931B41
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a196b;
/* rgb */ color: rgb(138, 25, 107);
/* oklch */ color: oklch(43.8% 0.168 342.1);
Tailwind
colors: {
  custom: {
    50: '#b06495',
    500: '#8a196b',
    950: '#000000',
  },
}
SCSS
$custom: #8a196b;
$custom-light: #b06495;
$custom-dark: #000000;
JSON
{
  "hex": "#8a196b",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 316.46,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43765,
    "c": 0.16811,
    "h": 342.1
  },
  "luminance": 0.0716
}

Semantic roles & 50–950 ramp

primary
#8A196B
secondary
#42BD63
accent
#EC6C3C
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A196B

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

Preview Lab → · Contrast checker → · Palette generator →

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