#8A3A71#8A3A71

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

Color values

HEX#8A3A71
RGBrgb(138, 58, 113)
HSLhsl(319, 41%, 38%)
HSVhsv(319, 58%, 54%)
CMYKcmyk(0%, 58%, 18.1%, 45.9%)
CIE-LABlab(37.16, 40.93, -15.38)
CIE-LCHlch(37.16, 43.72, 339.40°)
OKLaboklab(47.5% 0.1214 -0.0412)
OKLCHoklch(47.5% 0.128 341.3)
XYZxyz(14.9752, 9.6229, 16.6883)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3A71 #3A8A53
analogous
#7B3A8A #8A3A71 #8A3A49
triadic
#8A3A71 #718A3A #3A718A
tetradic
#8A3A71 #8A7B3A #3A8A53 #3A498A
square
#8A3A71 #8A7B3A #3A8A53 #3A498A
split-complementary
#8A3A71 #498A3A #3A8A7B
monochromatic
#34162A #5F284E #8A3A71 #B44D94 #C678AE

Accessibility & contrast

On white

7.18
#8A3A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A3A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3A71
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3A71#FFFFFF#000000##FFFFFF
##8A3A711.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#565C6F
Tritanopia (blue-blind)
#923B50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3a71;
/* rgb */ color: rgb(138, 58, 113);
/* oklch */ color: oklch(47.5% 0.128 341.3);
Tailwind
colors: {
  custom: {
    50: '#ae749a',
    500: '#8a3a71',
    950: '#000000',
  },
}
SCSS
$custom: #8a3a71;
$custom-light: #ae749a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3a71",
  "rgb": {
    "r": 138,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 318.75,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47495,
    "c": 0.12823,
    "h": 341.3
  },
  "luminance": 0.09622
}

Semantic roles & 50–950 ramp

primary
#8A3A71
secondary
#70B084
accent
#D17D57
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3A71

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

Preview Lab → · Contrast checker → · Palette generator →

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