#8A4772#8A4772

#8A4772 is a mid, moderate pink. Relative luminance 0.111; OKLCH L 49.5% C 0.106 H 342.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8A4772
RGBrgb(138, 71, 114)
HSLhsl(321, 32%, 41%)
HSVhsv(321, 49%, 54%)
CMYKcmyk(0%, 48.6%, 17.4%, 45.9%)
CIE-LABlab(39.79, 34.28, -11.99)
CIE-LCHlch(39.79, 36.32, 340.72°)
OKLaboklab(49.47% 0.1014 -0.0319)
OKLCHoklch(49.47% 0.106 342.6)
XYZxyz(15.7720, 11.1258, 17.2331)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4772 #478A5F
analogous
#80478A #8A4772 #8A4750
triadic
#8A4772 #728A47 #47728A
tetradic
#8A4772 #8A8047 #478A5F #47508A
square
#8A4772 #8A8047 #478A5F #47508A
split-complementary
#8A4772 #508A47 #478A80
monochromatic
#391D2F #623251 #8A4772 #AE6192 #C289AE

Accessibility & contrast

On white

6.51
#8A4772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A4772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4772
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4772#FFFFFF#000000##FFFFFF
##8A47721.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5773
Deuteranopia (green-blind)
#5D6270
Tritanopia (blue-blind)
#914757
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4772;
/* rgb */ color: rgb(138, 71, 114);
/* oklch */ color: oklch(49.5% 0.106 342.6);
Tailwind
colors: {
  custom: {
    50: '#ae7c9a',
    500: '#8a4772',
    950: '#000000',
  },
}
SCSS
$custom: #8a4772;
$custom-light: #ae7c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4772",
  "rgb": {
    "r": 138,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 321.493,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.10631,
    "h": 342.6
  },
  "luminance": 0.11125
}

Semantic roles & 50–950 ramp

primary
#8A4772
secondary
#7FAE90
accent
#C88560
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4772

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

Preview Lab → · Contrast checker → · Palette generator →

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