#8A3571#8A3571

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

Color values

HEX#8A3571
RGBrgb(138, 53, 113)
HSLhsl(318, 45%, 37%)
HSVhsv(318, 62%, 54%)
CMYKcmyk(0%, 61.6%, 18.1%, 45.9%)
CIE-LABlab(36.26, 43.35, -16.76)
CIE-LCHlch(36.26, 46.48, 338.86°)
OKLaboklab(46.83% 0.1287 -0.045)
OKLCHoklch(46.83% 0.136 340.7)
XYZxyz(14.7353, 9.1430, 16.6083)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3571 #358A4E
analogous
#79358A #8A3571 #8A3546
triadic
#8A3571 #718A35 #35718A
tetradic
#8A3571 #8A7935 #358A4E #35468A
square
#8A3571 #8A7935 #358A4E #35468A
split-complementary
#8A3571 #468A35 #358A79
monochromatic
#321329 #5E244D #8A3571 #B64695 #C871AF

Accessibility & contrast

On white

7.42
#8A3571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3571
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3571#FFFFFF#000000##FFFFFF
##8A35711.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a3571;
/* rgb */ color: rgb(138, 53, 113);
/* oklch */ color: oklch(46.8% 0.136 340.7);
Tailwind
colors: {
  custom: {
    50: '#af719a',
    500: '#8a3571',
    950: '#000000',
  },
}
SCSS
$custom: #8a3571;
$custom-light: #af719a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3571",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 317.647,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46832,
    "c": 0.13633,
    "h": 340.7
  },
  "luminance": 0.09142
}

Semantic roles & 50–950 ramp

primary
#8A3571
secondary
#6AB17F
accent
#D47954
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3571

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

Preview Lab → · Contrast checker → · Palette generator →

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