#8A4E72#8A4E72

#8A4E72 is a mid, moderate pink. Relative luminance 0.121; OKLCH L 50.6% C 0.093 H 344.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A4E72
RGBrgb(138, 78, 114)
HSLhsl(324, 28%, 42%)
HSVhsv(324, 43%, 54%)
CMYKcmyk(0%, 43.5%, 17.4%, 45.9%)
CIE-LABlab(41.32, 30.38, -9.68)
CIE-LCHlch(41.32, 31.89, 342.33°)
OKLaboklab(50.62% 0.0899 -0.0256)
OKLCHoklch(50.62% 0.093 344.1)
XYZxyz(16.2431, 12.0680, 17.3902)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E72 #4E8A66
analogous
#844E8A #8A4E72 #8A4E54
triadic
#8A4E72 #728A4E #4E728A
tetradic
#8A4E72 #8A844E #4E8A66 #4E548A
square
#8A4E72 #8A844E #4E8A66 #4E548A
split-complementary
#8A4E72 #548A4E #4E8A84
monochromatic
#3C2231 #633852 #8A4E72 #AB6A91 #C191AE

Accessibility & contrast

On white

6.15
#8A4E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8A4E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E72
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E72#FFFFFF#000000##FFFFFF
##8A4E721.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B73
Deuteranopia (green-blind)
#616570
Tritanopia (blue-blind)
#914E5B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4e72;
/* rgb */ color: rgb(138, 78, 114);
/* oklch */ color: oklch(50.6% 0.093 344.1);
Tailwind
colors: {
  custom: {
    50: '#ad819a',
    500: '#8a4e72',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e72;
$custom-light: #ad819a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e72",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 324,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50623,
    "c": 0.09346,
    "h": 344.1
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#8A4E72
secondary
#86AE96
accent
#C48A64
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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