#8A477C#8A477C

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

Color values

HEX#8A477C
RGBrgb(138, 71, 124)
HSLhsl(313, 32%, 41%)
HSVhsv(313, 49%, 54%)
CMYKcmyk(0%, 48.6%, 10.1%, 45.9%)
CIE-LABlab(40.19, 36.00, -17.56)
CIE-LCHlch(40.19, 40.06, 334.01°)
OKLaboklab(49.9% 0.1042 -0.0474)
OKLCHoklch(49.9% 0.114 335.5)
XYZxyz(16.3726, 11.3660, 20.3964)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A477C #478A55
analogous
#76478A #8A477C #8A475A
triadic
#8A477C #7C8A47 #477C8A
tetradic
#8A477C #8A7647 #478A55 #475A8A
square
#8A477C #8A7647 #478A55 #475A8A
split-complementary
#8A477C #5A8A47 #478A76
monochromatic
#391D33 #623258 #8A477C #AE619D #C289B6

Accessibility & contrast

On white

6.42
#8A477C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A477C
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A477C#FFFFFF#000000##FFFFFF
##8A477C1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587E
Deuteranopia (green-blind)
#5A627A
Tritanopia (blue-blind)
#904A5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a477c;
/* rgb */ color: rgb(138, 71, 124);
/* oklch */ color: oklch(49.9% 0.114 335.5);
Tailwind
colors: {
  custom: {
    50: '#ae7ca2',
    500: '#8a477c',
    950: '#000000',
  },
}
SCSS
$custom: #8a477c;
$custom-light: #ae7ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a477c",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 312.537,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.499,
    "c": 0.11444,
    "h": 335.5
  },
  "luminance": 0.11365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A477C

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

Preview Lab → · Contrast checker → · Palette generator →

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