#8A487A#8A487A

#8A487A is a mid, moderate pink. Relative luminance 0.114; OKLCH L 50.0% C 0.111 H 337.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8A487A
RGBrgb(138, 72, 122)
HSLhsl(315, 31%, 41%)
HSVhsv(315, 48%, 54%)
CMYKcmyk(0%, 47.8%, 11.6%, 45.9%)
CIE-LABlab(40.32, 35.10, -16.13)
CIE-LCHlch(40.32, 38.63, 335.32°)
OKLaboklab(49.97% 0.1021 -0.0434)
OKLCHoklch(49.97% 0.111 337)
XYZxyz(16.3115, 11.4442, 19.7584)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A487A #488A58
analogous
#79488A #8A487A #8A4859
triadic
#8A487A #7A8A48 #487A8A
tetradic
#8A487A #8A7948 #488A58 #48598A
square
#8A487A #8A7948 #488A58 #48598A
split-complementary
#8A487A #598A48 #488A79
monochromatic
#3A1E33 #623356 #8A487A #AD629B #C28AB5

Accessibility & contrast

On white

6.39
#8A487A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8A487A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A487A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A487A#FFFFFF#000000##FFFFFF
##8A487A1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597C
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#904A5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a487a;
/* rgb */ color: rgb(138, 72, 122);
/* oklch */ color: oklch(50.0% 0.111 337.0);
Tailwind
colors: {
  custom: {
    50: '#ae7da0',
    500: '#8a487a',
    950: '#000000',
  },
}
SCSS
$custom: #8a487a;
$custom-light: #ae7da0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a487a",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 314.545,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49969,
    "c": 0.11091,
    "h": 337
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#8A487A
secondary
#80AE8B
accent
#C87960
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A487A

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

Preview Lab → · Contrast checker → · Palette generator →

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