#8A477A#8A477A

#8A477A is a mid, moderate pink. Relative luminance 0.113; OKLCH L 49.8% C 0.113 H 336.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8A477A
RGBrgb(138, 71, 122)
HSLhsl(314, 32%, 41%)
HSVhsv(314, 49%, 54%)
CMYKcmyk(0%, 48.6%, 11.6%, 45.9%)
CIE-LABlab(40.11, 35.65, -16.45)
CIE-LCHlch(40.11, 39.26, 335.23°)
OKLaboklab(49.81% 0.1037 -0.0443)
OKLCHoklch(49.81% 0.113 336.9)
XYZxyz(16.2474, 11.3160, 19.7370)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A477A #478A57
analogous
#78478A #8A477A #8A4758
triadic
#8A477A #7A8A47 #477A8A
tetradic
#8A477A #8A7847 #478A57 #47588A
square
#8A477A #8A7847 #478A57 #47588A
split-complementary
#8A477A #588A47 #478A78
monochromatic
#391D33 #623256 #8A477A #AE619B #C289B5

Accessibility & contrast

On white

6.44
#8A477A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A477A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A477A
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A477A#FFFFFF#000000##FFFFFF
##8A477A1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587C
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#90495B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a477a;
/* rgb */ color: rgb(138, 71, 122);
/* oklch */ color: oklch(49.8% 0.113 336.9);
Tailwind
colors: {
  custom: {
    50: '#ae7ca0',
    500: '#8a477a',
    950: '#000000',
  },
}
SCSS
$custom: #8a477a;
$custom-light: #ae7ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a477a",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 314.328,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49811,
    "c": 0.11272,
    "h": 336.9
  },
  "luminance": 0.11315
}

Semantic roles & 50–950 ramp

primary
#8A477A
secondary
#7FAE8A
accent
#C87960
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A477A

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

Preview Lab → · Contrast checker → · Palette generator →

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