#8A5A7A#8A5A7A

#8A5A7A is a mid, moderate pink. Relative luminance 0.141; OKLCH L 53.1% C 0.077 H 340.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8A5A7A
RGBrgb(138, 90, 122)
HSLhsl(320, 21%, 45%)
HSVhsv(320, 35%, 54%)
CMYKcmyk(0%, 34.8%, 11.6%, 45.9%)
CIE-LABlab(44.41, 24.89, -9.93)
CIE-LCHlch(44.41, 26.79, 338.25°)
OKLaboklab(53.05% 0.0724 -0.0264)
OKLCHoklch(53.05% 0.077 340)
XYZxyz(17.6502, 14.1216, 20.2046)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5A7A #5A8A6A
analogous
#825A8A #8A5A7A #8A5A62
triadic
#8A5A7A #7A8A5A #5A7A8A
tetradic
#8A5A7A #8A825A #5A8A6A #5A628A
square
#8A5A7A #8A825A #5A8A6A #5A628A
split-complementary
#8A5A7A #628A5A #5A8A82
monochromatic
#402A39 #654259 #8A5A7A #A87998 #C09EB5

Accessibility & contrast

On white

5.49
#8A5A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A5A7A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5A7A#FFFFFF#000000##FFFFFF
##8A5A7A1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C657B
Deuteranopia (green-blind)
#676C79
Tritanopia (blue-blind)
#8F5B65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8a5a7a;
/* rgb */ color: rgb(138, 90, 122);
/* oklch */ color: oklch(53.1% 0.077 340.0);
Tailwind
colors: {
  custom: {
    50: '#ad89a0',
    500: '#8a5a7a',
    950: '#000000',
  },
}
SCSS
$custom: #8a5a7a;
$custom-light: #ad89a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5a7a",
  "rgb": {
    "r": 138,
    "g": 90,
    "b": 122
  },
  "hsl": {
    "h": 320,
    "s": 21.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53054,
    "c": 0.07707,
    "h": 340
  },
  "luminance": 0.14121
}

Semantic roles & 50–950 ramp

primary
#8A5A7A
secondary
#92AE9B
accent
#BE866A
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #8A5A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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