#8A3471#8A3471

#8A3471 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 46.7% C 0.138 H 340.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8A3471
RGBrgb(138, 52, 113)
HSLhsl(317, 45%, 37%)
HSVhsv(317, 62%, 54%)
CMYKcmyk(0%, 62.3%, 18.1%, 45.9%)
CIE-LABlab(36.09, 43.82, -17.03)
CIE-LCHlch(36.09, 47.01, 338.77°)
OKLaboklab(46.71% 0.1301 -0.0457)
OKLCHoklch(46.71% 0.138 340.6)
XYZxyz(14.6902, 9.0528, 16.5933)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3471 #348A4D
analogous
#78348A #8A3471 #8A3446
triadic
#8A3471 #718A34 #34718A
tetradic
#8A3471 #8A7834 #348A4D #34468A
square
#8A3471 #8A7834 #348A4D #34468A
split-complementary
#8A3471 #468A34 #348A78
monochromatic
#311328 #5E234D #8A3471 #B64595 #C96FAF

Accessibility & contrast

On white

7.47
#8A3471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A3471
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3471#FFFFFF#000000##FFFFFF
##8A34711.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#525A6F
Tritanopia (blue-blind)
#92364D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8a3471;
/* rgb */ color: rgb(138, 52, 113);
/* oklch */ color: oklch(46.7% 0.138 340.6);
Tailwind
colors: {
  custom: {
    50: '#af719a',
    500: '#8a3471',
    950: '#000000',
  },
}
SCSS
$custom: #8a3471;
$custom-light: #af719a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3471",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 317.442,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46705,
    "c": 0.13791,
    "h": 340.6
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#8A3471
secondary
#69B17E
accent
#D57953
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3471

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

Preview Lab → · Contrast checker → · Palette generator →

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