#8A3472#8A3472

#8A3472 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.8% C 0.139 H 340.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8A3472
RGBrgb(138, 52, 114)
HSLhsl(317, 45%, 37%)
HSVhsv(317, 62%, 54%)
CMYKcmyk(0%, 62.3%, 17.4%, 45.9%)
CIE-LABlab(36.13, 43.98, -17.59)
CIE-LCHlch(36.13, 47.36, 338.20°)
OKLaboklab(46.75% 0.1303 -0.0473)
OKLCHoklch(46.75% 0.139 340.1)
XYZxyz(14.7468, 9.0754, 16.8914)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3472 #348A4C
analogous
#77348A #8A3472 #8A3447
triadic
#8A3472 #728A34 #34728A
tetradic
#8A3472 #8A7734 #348A4C #34478A
square
#8A3472 #8A7734 #348A4C #34478A
split-complementary
#8A3472 #478A34 #348A77
monochromatic
#311329 #5E234D #8A3472 #B64597 #C96FB0

Accessibility & contrast

On white

7.46
#8A3472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8A3472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3472
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3472#FFFFFF#000000##FFFFFF
##8A34721.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C74
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#92364E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3472;
/* rgb */ color: rgb(138, 52, 114);
/* oklch */ color: oklch(46.8% 0.139 340.1);
Tailwind
colors: {
  custom: {
    50: '#af719a',
    500: '#8a3472',
    950: '#000000',
  },
}
SCSS
$custom: #8a3472;
$custom-light: #af719a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3472",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 114
  },
  "hsl": {
    "h": 316.744,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46751,
    "c": 0.13863,
    "h": 340.1
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#8A3472
secondary
#69B17D
accent
#D57753
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3472

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

Preview Lab → · Contrast checker → · Palette generator →

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