#8A5477#8A5477

#8A5477 is a mid, moderate pink. Relative luminance 0.131; OKLCH L 51.9% C 0.086 H 341.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A5477
RGBrgb(138, 84, 119)
HSLhsl(321, 24%, 44%)
HSVhsv(321, 39%, 54%)
CMYKcmyk(0%, 39.1%, 13.8%, 45.9%)
CIE-LABlab(42.88, 27.82, -10.40)
CIE-LCHlch(42.88, 29.70, 339.50°)
OKLaboklab(51.86% 0.0815 -0.0276)
OKLCHoklch(51.86% 0.086 341.3)
XYZxyz(16.9814, 13.0768, 19.0788)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5477 #548A67
analogous
#82548A #8A5477 #8A545C
triadic
#8A5477 #778A54 #54778A
tetradic
#8A5477 #8A8254 #548A67 #545C8A
square
#8A5477 #8A8254 #548A67 #545C8A
split-complementary
#8A5477 #5C8A54 #548A82
monochromatic
#3E2635 #643D56 #8A5477 #A97296 #C098B2

Accessibility & contrast

On white

5.81
#8A5477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8A5477 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5477
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5477#FFFFFF#000000##FFFFFF
##8A54771.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576078
Deuteranopia (green-blind)
#646876
Tritanopia (blue-blind)
#905561
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a5477;
/* rgb */ color: rgb(138, 84, 119);
/* oklch */ color: oklch(51.9% 0.086 341.3);
Tailwind
colors: {
  custom: {
    50: '#ad859e',
    500: '#8a5477',
    950: '#000000',
  },
}
SCSS
$custom: #8a5477;
$custom-light: #ad859e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5477",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 119
  },
  "hsl": {
    "h": 321.111,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.08604,
    "h": 341.3
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#8A5477
secondary
#8CAE98
accent
#C18767
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #8A5477

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

Preview Lab → · Contrast checker → · Palette generator →

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