#8A4072#8A4072

#8A4072 is a mid, moderate pink. Relative luminance 0.103; OKLCH L 48.4% C 0.119 H 341.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8A4072
RGBrgb(138, 64, 114)
HSLhsl(319, 37%, 40%)
HSVhsv(319, 54%, 54%)
CMYKcmyk(0%, 53.6%, 17.4%, 45.9%)
CIE-LABlab(38.35, 38.03, -14.18)
CIE-LCHlch(38.35, 40.59, 339.55°)
OKLaboklab(48.4% 0.1126 -0.0379)
OKLCHoklch(48.4% 0.119 341.4)
XYZxyz(15.3522, 10.2862, 17.0932)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4072 #408A58
analogous
#7D408A #8A4072 #8A404D
triadic
#8A4072 #728A40 #40728A
tetradic
#8A4072 #8A7D40 #408A58 #404D8A
square
#8A4072 #8A7D40 #408A58 #404D8A
split-complementary
#8A4072 #4D8A40 #408A7D
monochromatic
#36192D #602D4F #8A4072 #B15693 #C480AE

Accessibility & contrast

On white

6.87
#8A4072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8A4072 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4072
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4072#FFFFFF#000000##FFFFFF
##8A40721.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445374
Deuteranopia (green-blind)
#595F70
Tritanopia (blue-blind)
#914154
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a4072;
/* rgb */ color: rgb(138, 64, 114);
/* oklch */ color: oklch(48.4% 0.119 341.4);
Tailwind
colors: {
  custom: {
    50: '#ae789a',
    500: '#8a4072',
    950: '#000000',
  },
}
SCSS
$custom: #8a4072;
$custom-light: #ae789a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4072",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 319.459,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.11875,
    "h": 341.4
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#8A4072
secondary
#77AF89
accent
#CD805B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A4072

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

Preview Lab → · Contrast checker → · Palette generator →

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