#8A5877#8A5877

#8A5877 is a mid, moderate pink. Relative luminance 0.137; OKLCH L 52.6% C 0.078 H 342.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8A5877
RGBrgb(138, 88, 119)
HSLhsl(323, 22%, 44%)
HSVhsv(323, 36%, 54%)
CMYKcmyk(0%, 36.2%, 13.8%, 45.9%)
CIE-LABlab(43.82, 25.51, -8.98)
CIE-LCHlch(43.82, 27.05, 340.60°)
OKLaboklab(52.57% 0.0748 -0.0238)
OKLCHoklch(52.57% 0.078 342.4)
XYZxyz(17.3008, 13.7156, 19.1853)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5877 #588A6B
analogous
#84588A #8A5877 #8A585E
triadic
#8A5877 #778A58 #58778A
tetradic
#8A5877 #8A8458 #588A6B #585E8A
square
#8A5877 #8A8458 #588A6B #585E8A
split-complementary
#8A5877 #5E8A58 #588A84
monochromatic
#3F2837 #654057 #8A5877 #A87796 #C09CB2

Accessibility & contrast

On white

5.61
#8A5877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8A5877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5877
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5877#FFFFFF#000000##FFFFFF
##8A58771.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6378
Deuteranopia (green-blind)
#676A76
Tritanopia (blue-blind)
#905863
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a5877;
/* rgb */ color: rgb(138, 88, 119);
/* oklch */ color: oklch(52.6% 0.078 342.4);
Tailwind
colors: {
  custom: {
    50: '#ad889e',
    500: '#8a5877',
    950: '#000000',
  },
}
SCSS
$custom: #8a5877;
$custom-light: #ad889e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5877",
  "rgb": {
    "r": 138,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 322.8,
    "s": 22.124,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52574,
    "c": 0.07846,
    "h": 342.4
  },
  "luminance": 0.13715
}

Semantic roles & 50–950 ramp

primary
#8A5877
secondary
#90AE9B
accent
#BF8A69
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #8A5877

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

Preview Lab → · Contrast checker → · Palette generator →

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