#8A4776#8A4776

#8A4776 is a mid, moderate pink. Relative luminance 0.112; OKLCH L 49.6% C 0.109 H 339.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8A4776
RGBrgb(138, 71, 118)
HSLhsl(318, 32%, 41%)
HSVhsv(318, 49%, 54%)
CMYKcmyk(0%, 48.6%, 14.5%, 45.9%)
CIE-LABlab(39.95, 34.95, -14.23)
CIE-LCHlch(39.95, 37.74, 337.85°)
OKLaboklab(49.64% 0.1026 -0.0381)
OKLCHoklch(49.64% 0.109 339.6)
XYZxyz(16.0046, 11.2189, 18.4585)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4776 #478A5B
analogous
#7C478A #8A4776 #8A4754
triadic
#8A4776 #768A47 #47768A
tetradic
#8A4776 #8A7C47 #478A5B #47548A
square
#8A4776 #8A7C47 #478A5B #47548A
split-complementary
#8A4776 #548A47 #478A7C
monochromatic
#391D31 #623253 #8A4776 #AE6197 #C289B1

Accessibility & contrast

On white

6.47
#8A4776 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8A4776 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4776
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4776#FFFFFF#000000##FFFFFF
##8A47761.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5878
Deuteranopia (green-blind)
#5C6274
Tritanopia (blue-blind)
#914859
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4776;
/* rgb */ color: rgb(138, 71, 118);
/* oklch */ color: oklch(49.6% 0.109 339.6);
Tailwind
colors: {
  custom: {
    50: '#ae7c9d',
    500: '#8a4776',
    950: '#000000',
  },
}
SCSS
$custom: #8a4776;
$custom-light: #ae7c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4776",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 118
  },
  "hsl": {
    "h": 317.91,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49638,
    "c": 0.10941,
    "h": 339.6
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#8A4776
secondary
#7FAE8D
accent
#C87F60
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4776

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

Preview Lab → · Contrast checker → · Palette generator →

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