#8A477B#8A477B

#8A477B is a mid, moderate pink. Relative luminance 0.113; OKLCH L 49.9% C 0.114 H 336.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A477B
RGBrgb(138, 71, 123)
HSLhsl(313, 32%, 41%)
HSVhsv(313, 49%, 54%)
CMYKcmyk(0%, 48.6%, 10.9%, 45.9%)
CIE-LABlab(40.15, 35.83, -17.00)
CIE-LCHlch(40.15, 39.66, 334.61°)
OKLaboklab(49.86% 0.1039 -0.0458)
OKLCHoklch(49.86% 0.114 336.2)
XYZxyz(16.3097, 11.3409, 20.0650)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A477B #478A56
analogous
#77478A #8A477B #8A4759
triadic
#8A477B #7B8A47 #477B8A
tetradic
#8A477B #8A7747 #478A56 #47598A
square
#8A477B #8A7747 #478A56 #47598A
split-complementary
#8A477B #598A47 #478A77
monochromatic
#391D33 #623257 #8A477B #AE619C #C289B6

Accessibility & contrast

On white

6.43
#8A477B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A477B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A477B
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A477B#FFFFFF#000000##FFFFFF
##8A477B1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587D
Deuteranopia (green-blind)
#5A6279
Tritanopia (blue-blind)
#904A5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a477b;
/* rgb */ color: rgb(138, 71, 123);
/* oklch */ color: oklch(49.9% 0.114 336.2);
Tailwind
colors: {
  custom: {
    50: '#ae7ca1',
    500: '#8a477b',
    950: '#000000',
  },
}
SCSS
$custom: #8a477b;
$custom-light: #ae7ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a477b",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 313.433,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49856,
    "c": 0.11358,
    "h": 336.2
  },
  "luminance": 0.1134
}

Semantic roles & 50–950 ramp

primary
#8A477B
secondary
#7FAE89
accent
#C87760
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0F
muted
#7F7C7E

Preview Lab

Preview with #8A477B

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

Preview Lab → · Contrast checker → · Palette generator →

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