#8A3572#8A3572

#8A3572 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 46.9% C 0.137 H 340.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8A3572
RGBrgb(138, 53, 114)
HSLhsl(317, 45%, 37%)
HSVhsv(317, 62%, 54%)
CMYKcmyk(0%, 61.6%, 17.4%, 45.9%)
CIE-LABlab(36.30, 43.51, -17.32)
CIE-LCHlch(36.30, 46.83, 338.29°)
OKLaboklab(46.88% 0.1289 -0.0465)
OKLCHoklch(46.88% 0.137 340.1)
XYZxyz(14.7919, 9.1656, 16.9064)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3572 #358A4D
analogous
#78358A #8A3572 #8A3548
triadic
#8A3572 #728A35 #35728A
tetradic
#8A3572 #8A7835 #358A4D #35488A
square
#8A3572 #8A7835 #358A4D #35488A
split-complementary
#8A3572 #488A35 #358A78
monochromatic
#321329 #5E244D #8A3572 #B64697 #C871B0

Accessibility & contrast

On white

7.41
#8A3572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8A3572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3572
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3572#FFFFFF#000000##FFFFFF
##8A35721.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D74
Deuteranopia (green-blind)
#535A70
Tritanopia (blue-blind)
#92374E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3572;
/* rgb */ color: rgb(138, 53, 114);
/* oklch */ color: oklch(46.9% 0.137 340.1);
Tailwind
colors: {
  custom: {
    50: '#af719a',
    500: '#8a3572',
    950: '#000000',
  },
}
SCSS
$custom: #8a3572;
$custom-light: #af719a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3572",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 316.941,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46878,
    "c": 0.13707,
    "h": 340.1
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#8A3572
secondary
#6AB17E
accent
#D47854
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3572

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

Preview Lab → · Contrast checker → · Palette generator →

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