#8A4472#8A4472

#8A4472 is a mid, moderate pink. Relative luminance 0.108; OKLCH L 49.0% C 0.112 H 342.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A4472
RGBrgb(138, 68, 114)
HSLhsl(321, 34%, 40%)
HSVhsv(321, 51%, 54%)
CMYKcmyk(0%, 50.7%, 17.4%, 45.9%)
CIE-LABlab(39.16, 35.91, -12.95)
CIE-LCHlch(39.16, 38.17, 340.17°)
OKLaboklab(49% 0.1062 -0.0345)
OKLCHoklch(49% 0.112 342)
XYZxyz(15.5859, 10.7536, 17.1711)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4472 #448A5C
analogous
#7F448A #8A4472 #8A444F
triadic
#8A4472 #728A44 #44728A
tetradic
#8A4472 #8A7F44 #448A5C #444F8A
square
#8A4472 #8A7F44 #448A5C #444F8A
split-complementary
#8A4472 #4F8A44 #448A7F
monochromatic
#381C2E #613050 #8A4472 #AF5C93 #C385AE

Accessibility & contrast

On white

6.67
#8A4472 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8A4472 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4472
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4472#FFFFFF#000000##FFFFFF
##8A44721.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485574
Deuteranopia (green-blind)
#5B6070
Tritanopia (blue-blind)
#914556
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a4472;
/* rgb */ color: rgb(138, 68, 114);
/* oklch */ color: oklch(49.0% 0.112 342.0);
Tailwind
colors: {
  custom: {
    50: '#ae7a9a',
    500: '#8a4472',
    950: '#000000',
  },
}
SCSS
$custom: #8a4472;
$custom-light: #ae7a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4472",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 114
  },
  "hsl": {
    "h": 320.571,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49,
    "c": 0.1117,
    "h": 342
  },
  "luminance": 0.10752
}

Semantic roles & 50–950 ramp

primary
#8A4472
secondary
#7CAE8D
accent
#CA835E
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #8A4472

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

Preview Lab → · Contrast checker → · Palette generator →

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