#8A5372#8A5372

#8A5372 is a mid, moderate pink. Relative luminance 0.128; OKLCH L 51.5% C 0.084 H 345.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8A5372
RGBrgb(138, 83, 114)
HSLhsl(326, 25%, 43%)
HSVhsv(326, 40%, 54%)
CMYKcmyk(0%, 39.9%, 17.4%, 45.9%)
CIE-LABlab(42.47, 27.53, -7.96)
CIE-LCHlch(42.47, 28.66, 343.88°)
OKLaboklab(51.49% 0.0815 -0.0209)
OKLCHoklch(51.49% 0.084 345.6)
XYZxyz(16.6119, 12.8057, 17.5131)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5372 #538A6B
analogous
#86538A #8A5372 #8A5356
triadic
#8A5372 #728A53 #53728A
tetradic
#8A5372 #8A8653 #538A6B #53568A
square
#8A5372 #8A8653 #538A6B #53568A
split-complementary
#8A5372 #568A53 #538A86
monochromatic
#3E2533 #643C52 #8A5372 #A97191 #C097AE

Accessibility & contrast

On white

5.90
#8A5372 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8A5372 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5372
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5372#FFFFFF#000000##FFFFFF
##8A53721.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F73
Deuteranopia (green-blind)
#656871
Tritanopia (blue-blind)
#91525E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a5372;
/* rgb */ color: rgb(138, 83, 114);
/* oklch */ color: oklch(51.5% 0.084 345.6);
Tailwind
colors: {
  custom: {
    50: '#ad849a',
    500: '#8a5372',
    950: '#000000',
  },
}
SCSS
$custom: #8a5372;
$custom-light: #ad849a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5372",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 114
  },
  "hsl": {
    "h": 326.182,
    "s": 24.887,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51489,
    "c": 0.08414,
    "h": 345.6
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#8A5372
secondary
#8BAE9A
accent
#C18E66
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100B0E
muted
#7F7C7E

Preview Lab

Preview with #8A5372

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

Preview Lab → · Contrast checker → · Palette generator →

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