#8A396B#8A396B

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

Color values

HEX#8A396B
RGBrgb(138, 57, 107)
HSLhsl(323, 42%, 38%)
HSVhsv(323, 59%, 54%)
CMYKcmyk(0%, 58.7%, 22.5%, 45.9%)
CIE-LABlab(36.73, 40.49, -12.27)
CIE-LCHlch(36.73, 42.31, 343.14°)
OKLaboklab(47.1% 0.1214 -0.0325)
OKLCHoklch(47.1% 0.126 345)
XYZxyz(14.5986, 9.3924, 14.9511)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A396B #398A58
analogous
#80398A #8A396B #8A3942
triadic
#8A396B #6B8A39 #396B8A
tetradic
#8A396B #8A8039 #398A58 #39428A
square
#8A396B #8A8039 #398A58 #39428A
split-complementary
#8A396B #428A39 #398A80
monochromatic
#331528 #5F2749 #8A396B #B54B8C #C777A8

Accessibility & contrast

On white

7.30
#8A396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A396B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A396B#FFFFFF#000000##FFFFFF
##8A396B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6D
Deuteranopia (green-blind)
#575B69
Tritanopia (blue-blind)
#93384D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a396b;
/* rgb */ color: rgb(138, 57, 107);
/* oklch */ color: oklch(47.1% 0.126 345.0);
Tailwind
colors: {
  custom: {
    50: '#af7495',
    500: '#8a396b',
    950: '#000000',
  },
}
SCSS
$custom: #8a396b;
$custom-light: #af7495;
$custom-dark: #000000;
JSON
{
  "hex": "#8a396b",
  "rgb": {
    "r": 138,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 322.963,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47099,
    "c": 0.12564,
    "h": 345
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#8A396B
secondary
#6FB088
accent
#D18556
background
#FBF7F9
surface
#F6EDF1
border
#D0C8CB
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8A396B

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

Preview Lab → · Contrast checker → · Palette generator →

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