#8A5A71#8A5A71

#8A5A71 is a mid, moderate pink. Relative luminance 0.139; OKLCH L 52.7% C 0.070 H 349.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8A5A71
RGBrgb(138, 90, 113)
HSLhsl(331, 21%, 45%)
HSVhsv(331, 35%, 54%)
CMYKcmyk(0%, 34.8%, 18.1%, 45.9%)
CIE-LABlab(44.10, 23.30, -4.91)
CIE-LCHlch(44.10, 23.82, 348.09°)
OKLaboklab(52.72% 0.0692 -0.0128)
OKLCHoklch(52.72% 0.07 349.6)
XYZxyz(17.1182, 13.9088, 17.4026)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5A71 #5A8A73
analogous
#8A5A89 #8A5A71 #8A5B5A
triadic
#8A5A71 #718A5A #5A718A
tetradic
#8A5A71 #898A5A #5A8A73 #5B5A8A
square
#8A5A71 #898A5A #5A8A73 #5B5A8A
split-complementary
#8A5A71 #5A8A5B #5A898A
monochromatic
#402A34 #654253 #8A5A71 #A87990 #C09EAF

Accessibility & contrast

On white

5.55
#8A5A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8A5A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5A71
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5A71#FFFFFF#000000##FFFFFF
##8A5A711.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6372
Deuteranopia (green-blind)
#6A6B70
Tritanopia (blue-blind)
#915962
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a5a71;
/* rgb */ color: rgb(138, 90, 113);
/* oklch */ color: oklch(52.7% 0.070 349.6);
Tailwind
colors: {
  custom: {
    50: '#ad8999',
    500: '#8a5a71',
    950: '#000000',
  },
}
SCSS
$custom: #8a5a71;
$custom-light: #ad8999;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5a71",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 113
  },
  "hsl": {
    "h": 331.25,
    "s": 21.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.0704,
    "h": 349.6
  },
  "luminance": 0.13908
}

Semantic roles & 50–950 ramp

primary
#8A5A71
secondary
#92AEA0
accent
#BE966A
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #8A5A71

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

Preview Lab → · Contrast checker → · Palette generator →

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