#8A5473#8A5473

#8A5473 is a mid, moderate pink. Relative luminance 0.130; OKLCH L 51.7% C 0.083 H 345.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A5473
RGBrgb(138, 84, 115)
HSLhsl(326, 24%, 44%)
HSVhsv(326, 39%, 54%)
CMYKcmyk(0%, 39.1%, 16.7%, 45.9%)
CIE-LABlab(42.74, 27.13, -8.17)
CIE-LCHlch(42.74, 28.33, 343.24°)
OKLaboklab(51.7% 0.0802 -0.0215)
OKLCHoklch(51.7% 0.083 345)
XYZxyz(16.7462, 12.9827, 17.8402)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5473 #548A6B
analogous
#86548A #8A5473 #8A5458
triadic
#8A5473 #738A54 #54738A
tetradic
#8A5473 #8A8654 #548A6B #54588A
square
#8A5473 #8A8654 #548A6B #54588A
split-complementary
#8A5473 #588A54 #548A86
monochromatic
#3E2634 #643D53 #8A5473 #A97292 #C098AF

Accessibility & contrast

On white

5.84
#8A5473 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8A5473 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5473
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5473#FFFFFF#000000##FFFFFF
##8A54731.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586074
Deuteranopia (green-blind)
#656872
Tritanopia (blue-blind)
#91545F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a5473;
/* rgb */ color: rgb(138, 84, 115);
/* oklch */ color: oklch(51.7% 0.083 345.0);
Tailwind
colors: {
  custom: {
    50: '#ad859b',
    500: '#8a5473',
    950: '#000000',
  },
}
SCSS
$custom: #8a5473;
$custom-light: #ad859b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5473",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 115
  },
  "hsl": {
    "h": 325.556,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.08299,
    "h": 345
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#8A5473
secondary
#8CAE9A
accent
#C18D67
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #8A5473

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

Preview Lab → · Contrast checker → · Palette generator →

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