#8A4477#8A4477

#8A4477 is a mid, moderate pink. Relative luminance 0.109; OKLCH L 49.2% C 0.116 H 338.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8A4477
RGBrgb(138, 68, 119)
HSLhsl(316, 34%, 40%)
HSVhsv(316, 51%, 54%)
CMYKcmyk(0%, 50.7%, 13.8%, 45.9%)
CIE-LABlab(39.36, 36.75, -15.74)
CIE-LCHlch(39.36, 39.98, 336.81°)
OKLaboklab(49.21% 0.1076 -0.0423)
OKLCHoklch(49.21% 0.116 338.6)
XYZxyz(15.8783, 10.8705, 18.7111)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4477 #448A57
analogous
#7A448A #8A4477 #8A4454
triadic
#8A4477 #778A44 #44778A
tetradic
#8A4477 #8A7A44 #448A57 #44548A
square
#8A4477 #8A7A44 #448A57 #44548A
split-complementary
#8A4477 #548A44 #448A7A
monochromatic
#381C30 #613054 #8A4477 #AF5C98 #C385B2

Accessibility & contrast

On white

6.62
#8A4477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8A4477 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4477
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4477#FFFFFF#000000##FFFFFF
##8A44771.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465679
Deuteranopia (green-blind)
#596175
Tritanopia (blue-blind)
#914658
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a4477;
/* rgb */ color: rgb(138, 68, 119);
/* oklch */ color: oklch(49.2% 0.116 338.6);
Tailwind
colors: {
  custom: {
    50: '#ae7a9e',
    500: '#8a4477',
    950: '#000000',
  },
}
SCSS
$custom: #8a4477;
$custom-light: #ae7a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4477",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 119
  },
  "hsl": {
    "h": 316.286,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49214,
    "c": 0.11562,
    "h": 338.6
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#8A4477
secondary
#7CAE89
accent
#CA7B5E
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #8A4477

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

Preview Lab → · Contrast checker → · Palette generator →

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