#8A4972#8A4972

#8A4972 is a mid, moderate pink. Relative luminance 0.114; OKLCH L 49.8% C 0.103 H 342.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A4972
RGBrgb(138, 73, 114)
HSLhsl(322, 31%, 41%)
HSVhsv(322, 47%, 54%)
CMYKcmyk(0%, 47.1%, 17.4%, 45.9%)
CIE-LABlab(40.22, 33.18, -11.34)
CIE-LCHlch(40.22, 35.06, 341.13°)
OKLaboklab(49.79% 0.0982 -0.0301)
OKLCHoklch(49.79% 0.103 342.9)
XYZxyz(15.9013, 11.3844, 17.2762)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4972 #498A61
analogous
#82498A #8A4972 #8A4952
triadic
#8A4972 #728A49 #49728A
tetradic
#8A4972 #8A8249 #498A61 #49528A
square
#8A4972 #8A8249 #498A61 #49528A
split-complementary
#8A4972 #528A49 #498A82
monochromatic
#3A1F30 #623451 #8A4972 #AD6392 #C28BAE

Accessibility & contrast

On white

6.41
#8A4972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A4972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4972
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4972#FFFFFF#000000##FFFFFF
##8A49721.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5873
Deuteranopia (green-blind)
#5E6370
Tritanopia (blue-blind)
#914958
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4972;
/* rgb */ color: rgb(138, 73, 114);
/* oklch */ color: oklch(49.8% 0.103 342.9);
Tailwind
colors: {
  custom: {
    50: '#ae7e9a',
    500: '#8a4972',
    950: '#000000',
  },
}
SCSS
$custom: #8a4972;
$custom-light: #ae7e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4972",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 114
  },
  "hsl": {
    "h": 322.154,
    "s": 30.806,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49793,
    "c": 0.10267,
    "h": 342.9
  },
  "luminance": 0.11383
}

Semantic roles & 50–950 ramp

primary
#8A4972
secondary
#81AE92
accent
#C78761
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4972

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

Preview Lab → · Contrast checker → · Palette generator →

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