#8A5C72#8A5C72

#8A5C72 is a mid, moderate pink. Relative luminance 0.143; OKLCH L 53.1% C 0.067 H 349.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A5C72
RGBrgb(138, 92, 114)
HSLhsl(331, 20%, 45%)
HSVhsv(331, 33%, 54%)
CMYKcmyk(0%, 33.3%, 17.4%, 45.9%)
CIE-LABlab(44.62, 22.31, -4.75)
CIE-LCHlch(44.62, 22.81, 347.98°)
OKLaboklab(53.13% 0.0662 -0.0123)
OKLCHoklch(53.13% 0.067 349.4)
XYZxyz(17.3458, 14.2734, 17.7577)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5C72 #5C8A74
analogous
#8A5C89 #8A5C72 #8A5D5C
triadic
#8A5C72 #728A5C #5C728A
tetradic
#8A5C72 #898A5C #5C8A74 #5D5C8A
square
#8A5C72 #898A5C #5C8A74 #5D5C8A
split-complementary
#8A5C72 #5C8A5D #5C898A
monochromatic
#412B35 #654454 #8A5C72 #A77C91 #C0A0B0

Accessibility & contrast

On white

5.45
#8A5C72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8A5C72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5C72
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5C72#FFFFFF#000000##FFFFFF
##8A5C721.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606573
Deuteranopia (green-blind)
#6B6C71
Tritanopia (blue-blind)
#905B64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8a5c72;
/* rgb */ color: rgb(138, 92, 114);
/* oklch */ color: oklch(53.1% 0.067 349.4);
Tailwind
colors: {
  custom: {
    50: '#ad8a9a',
    500: '#8a5c72',
    950: '#000000',
  },
}
SCSS
$custom: #8a5c72;
$custom-light: #ad8a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5c72",
  "rgb": {
    "r": 138,
    "g": 92,
    "b": 114
  },
  "hsl": {
    "h": 331.304,
    "s": 20,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.06732,
    "h": 349.4
  },
  "luminance": 0.14272
}

Semantic roles & 50–950 ramp

primary
#8A5C72
secondary
#94AEA1
accent
#BD966B
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100C0E
muted
#7F7D7E

Preview Lab

Preview with #8A5C72

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

Preview Lab → · Contrast checker → · Palette generator →

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