#8A5E82#8A5E82

#8A5E82 is a mid, moderate pink. Relative luminance 0.150; OKLCH L 54.1% C 0.077 H 333.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A5E82
RGBrgb(138, 94, 130)
HSLhsl(311, 19%, 45%)
HSVhsv(311, 32%, 54%)
CMYKcmyk(0%, 31.9%, 5.8%, 45.9%)
CIE-LABlab(45.66, 24.04, -12.86)
CIE-LCHlch(45.66, 27.27, 331.86°)
OKLaboklab(54.11% 0.0684 -0.0345)
OKLCHoklch(54.11% 0.077 333.2)
XYZxyz(18.5130, 15.0211, 23.0390)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E82 #5E8A66
analogous
#7C5E8A #8A5E82 #8A5E6C
triadic
#8A5E82 #828A5E #5E828A
tetradic
#8A5E82 #8A7C5E #5E8A66 #5E6C8A
square
#8A5E82 #8A7C5E #5E8A66 #5E6C8A
split-complementary
#8A5E82 #6C8A5E #5E8A7C
monochromatic
#412C3D #664560 #8A5E82 #A77EA0 #C0A2BB

Accessibility & contrast

On white

5.24
#8A5E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8A5E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5E82
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5E82#FFFFFF#000000##FFFFFF
##8A5E821.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6883
Deuteranopia (green-blind)
#686E81
Tritanopia (blue-blind)
#8E606B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a5e82;
/* rgb */ color: rgb(138, 94, 130);
/* oklch */ color: oklch(54.1% 0.077 333.2);
Tailwind
colors: {
  custom: {
    50: '#ad8ca6',
    500: '#8a5e82',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e82;
$custom-light: #ad8ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e82",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 130
  },
  "hsl": {
    "h": 310.909,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.0766,
    "h": 333.2
  },
  "luminance": 0.1502
}

Semantic roles & 50–950 ramp

primary
#8A5E82
secondary
#96AE9A
accent
#BC7B6C
background
#FAF8FA
surface
#F4F0F4
border
#CECBCE
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A5E82

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

Preview Lab → · Contrast checker → · Palette generator →

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