#8A5E7A#8A5E7A

#8A5E7A is a mid, moderate pink. Relative luminance 0.148; OKLCH L 53.8% C 0.069 H 341.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8A5E7A
RGBrgb(138, 94, 122)
HSLhsl(322, 19%, 45%)
HSVhsv(322, 32%, 54%)
CMYKcmyk(0%, 31.9%, 11.6%, 45.9%)
CIE-LABlab(45.38, 22.55, -8.47)
CIE-LCHlch(45.38, 24.09, 339.42°)
OKLaboklab(53.8% 0.0657 -0.0224)
OKLCHoklch(53.8% 0.069 341.2)
XYZxyz(17.9967, 14.8147, 20.3201)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E7A #5E8A6E
analogous
#845E8A #8A5E7A #8A5E64
triadic
#8A5E7A #7A8A5E #5E7A8A
tetradic
#8A5E7A #8A845E #5E8A6E #5E648A
square
#8A5E7A #8A845E #5E8A6E #5E648A
split-complementary
#8A5E7A #648A5E #5E8A84
monochromatic
#412C3A #66455A #8A5E7A #A77E98 #C0A2B5

Accessibility & contrast

On white

5.30
#8A5E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8A5E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5E7A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5E7A#FFFFFF#000000##FFFFFF
##8A5E7A1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60677B
Deuteranopia (green-blind)
#6A6E79
Tritanopia (blue-blind)
#8F5E68
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a5e7a;
/* rgb */ color: rgb(138, 94, 122);
/* oklch */ color: oklch(53.8% 0.069 341.2);
Tailwind
colors: {
  custom: {
    50: '#ad8ca0',
    500: '#8a5e7a',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e7a;
$custom-light: #ad8ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e7a",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 122
  },
  "hsl": {
    "h": 321.818,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53795,
    "c": 0.0694,
    "h": 341.2
  },
  "luminance": 0.14814
}

Semantic roles & 50–950 ramp

primary
#8A5E7A
secondary
#96AE9F
accent
#BC896C
background
#FAF8F9
surface
#F4F0F2
border
#CECBCC
text
#100C0E
muted
#7F7D7E

Preview Lab

Preview with #8A5E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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