#8A396C#8A396C

#8A396C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.1% C 0.126 H 344.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8A396C
RGBrgb(138, 57, 108)
HSLhsl(322, 42%, 38%)
HSVhsv(322, 59%, 54%)
CMYKcmyk(0%, 58.7%, 21.7%, 45.9%)
CIE-LABlab(36.77, 40.64, -12.84)
CIE-LCHlch(36.77, 42.62, 342.47°)
OKLaboklab(47.14% 0.1216 -0.0341)
OKLCHoklch(47.14% 0.126 344.3)
XYZxyz(14.6515, 9.4135, 15.2298)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A396C #398A57
analogous
#7F398A #8A396C #8A3944
triadic
#8A396C #6C8A39 #396C8A
tetradic
#8A396C #8A7F39 #398A57 #39448A
square
#8A396C #8A7F39 #398A57 #39448A
split-complementary
#8A396C #448A39 #398A7F
monochromatic
#331528 #5F274A #8A396C #B54B8E #C777A9

Accessibility & contrast

On white

7.29
#8A396C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A396C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A396C
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A396C#FFFFFF#000000##FFFFFF
##8A396C1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6E
Deuteranopia (green-blind)
#575B6A
Tritanopia (blue-blind)
#92394D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a396c;
/* rgb */ color: rgb(138, 57, 108);
/* oklch */ color: oklch(47.1% 0.126 344.3);
Tailwind
colors: {
  custom: {
    50: '#af7496',
    500: '#8a396c',
    950: '#000000',
  },
}
SCSS
$custom: #8a396c;
$custom-light: #af7496;
$custom-dark: #000000;
JSON
{
  "hex": "#8a396c",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 322.222,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47141,
    "c": 0.12631,
    "h": 344.3
  },
  "luminance": 0.09412
}

Semantic roles & 50–950 ramp

primary
#8A396C
secondary
#6FB087
accent
#D18456
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A396C

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

Preview Lab → · Contrast checker → · Palette generator →

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