#8A5A79#8A5A79

#8A5A79 is a mid, moderate pink. Relative luminance 0.141; OKLCH L 53.0% C 0.076 H 341.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8A5A79
RGBrgb(138, 90, 121)
HSLhsl(321, 21%, 45%)
HSVhsv(321, 35%, 54%)
CMYKcmyk(0%, 34.8%, 12.3%, 45.9%)
CIE-LABlab(44.37, 24.70, -9.37)
CIE-LCHlch(44.37, 26.42, 339.22°)
OKLaboklab(53.02% 0.0721 -0.0249)
OKLCHoklch(53.02% 0.076 341)
XYZxyz(17.5886, 14.0970, 19.8800)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5A79 #5A8A6B
analogous
#835A8A #8A5A79 #8A5A61
triadic
#8A5A79 #798A5A #5A798A
tetradic
#8A5A79 #8A835A #5A8A6B #5A618A
square
#8A5A79 #8A835A #5A8A6B #5A618A
split-complementary
#8A5A79 #618A5A #5A8A83
monochromatic
#402A38 #654259 #8A5A79 #A87997 #C09EB4

Accessibility & contrast

On white

5.50
#8A5A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8A5A79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5A79
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5A79#FFFFFF#000000##FFFFFF
##8A5A791.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C647A
Deuteranopia (green-blind)
#686C78
Tritanopia (blue-blind)
#905B65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a5a79;
/* rgb */ color: rgb(138, 90, 121);
/* oklch */ color: oklch(53.0% 0.076 341.0);
Tailwind
colors: {
  custom: {
    50: '#ad899f',
    500: '#8a5a79',
    950: '#000000',
  },
}
SCSS
$custom: #8a5a79;
$custom-light: #ad899f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5a79",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 121
  },
  "hsl": {
    "h": 321.25,
    "s": 21.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.07625,
    "h": 341
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#8A5A79
secondary
#92AE9C
accent
#BE886A
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #8A5A79

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

Preview Lab → · Contrast checker → · Palette generator →

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