#8A3A72#8A3A72

#8A3A72 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.5% C 0.129 H 340.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8A3A72
RGBrgb(138, 58, 114)
HSLhsl(318, 41%, 38%)
HSVhsv(318, 58%, 54%)
CMYKcmyk(0%, 58%, 17.4%, 45.9%)
CIE-LABlab(37.20, 41.09, -15.94)
CIE-LCHlch(37.20, 44.07, 338.79°)
OKLaboklab(47.54% 0.1217 -0.0427)
OKLCHoklch(47.54% 0.129 340.6)
XYZxyz(15.0318, 9.6455, 16.9864)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A72 #3A8A52
analogous
#7A3A8A #8A3A72 #8A3A4A
triadic
#8A3A72 #728A3A #3A728A
tetradic
#8A3A72 #8A7A3A #3A8A52 #3A4A8A
square
#8A3A72 #8A7A3A #3A8A52 #3A4A8A
split-complementary
#8A3A72 #4A8A3A #3A8A7A
monochromatic
#34162B #5F284E #8A3A72 #B44D95 #C678AF

Accessibility & contrast

On white

7.17
#8A3A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A3A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3A72
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A72#FFFFFF#000000##FFFFFF
##8A3A721.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F74
Deuteranopia (green-blind)
#555C70
Tritanopia (blue-blind)
#923B51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3a72;
/* rgb */ color: rgb(138, 58, 114);
/* oklch */ color: oklch(47.5% 0.129 340.6);
Tailwind
colors: {
  custom: {
    50: '#ae749a',
    500: '#8a3a72',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a72;
$custom-light: #ae749a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a72",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 318,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4754,
    "c": 0.12897,
    "h": 340.6
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#8A3A72
secondary
#70B083
accent
#D17C57
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3A72

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

Preview Lab → · Contrast checker → · Palette generator →

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