#8A4D71#8A4D71

#8A4D71 is a mid, moderate pink. Relative luminance 0.119; OKLCH L 50.4% C 0.095 H 344.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8A4D71
RGBrgb(138, 77, 113)
HSLhsl(325, 28%, 42%)
HSVhsv(325, 44%, 54%)
CMYKcmyk(0%, 44.2%, 18.1%, 45.9%)
CIE-LABlab(41.06, 30.78, -9.45)
CIE-LCHlch(41.06, 32.20, 342.93°)
OKLaboklab(50.42% 0.0912 -0.025)
OKLCHoklch(50.42% 0.095 344.7)
XYZxyz(16.1160, 11.9044, 17.0685)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4D71 #4D8A66
analogous
#854D8A #8A4D71 #8A4D53
triadic
#8A4D71 #718A4D #4D718A
tetradic
#8A4D71 #8A854D #4D8A66 #4D538A
square
#8A4D71 #8A854D #4D8A66 #4D538A
split-complementary
#8A4D71 #538A4D #4D8A85
monochromatic
#3B2131 #633751 #8A4D71 #AB6990 #C190AD

Accessibility & contrast

On white

6.21
#8A4D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8A4D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4D71
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4D71#FFFFFF#000000##FFFFFF
##8A4D711.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B72
Deuteranopia (green-blind)
#61656F
Tritanopia (blue-blind)
#914D5A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4d71;
/* rgb */ color: rgb(138, 77, 113);
/* oklch */ color: oklch(50.4% 0.095 344.7);
Tailwind
colors: {
  custom: {
    50: '#ae8099',
    500: '#8a4d71',
    950: '#000000',
  },
}
SCSS
$custom: #8a4d71;
$custom-light: #ae8099;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4d71",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 113
  },
  "hsl": {
    "h": 324.59,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.09458,
    "h": 344.7
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#8A4D71
secondary
#85AE96
accent
#C58B63
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4D71

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

Preview Lab → · Contrast checker → · Palette generator →

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