#8A4A71#8A4A71

#8A4A71 is a mid, moderate pink. Relative luminance 0.115; OKLCH L 49.9% C 0.100 H 344.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8A4A71
RGBrgb(138, 74, 113)
HSLhsl(323, 30%, 42%)
HSVhsv(323, 46%, 54%)
CMYKcmyk(0%, 46.4%, 18.1%, 45.9%)
CIE-LABlab(40.40, 32.46, -10.45)
CIE-LCHlch(40.40, 34.10, 342.15°)
OKLaboklab(49.92% 0.0962 -0.0277)
OKLCHoklch(49.92% 0.1 344)
XYZxyz(15.9109, 11.4942, 17.0002)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4A71 #4A8A63
analogous
#834A8A #8A4A71 #8A4A51
triadic
#8A4A71 #718A4A #4A718A
tetradic
#8A4A71 #8A834A #4A8A63 #4A518A
square
#8A4A71 #8A834A #4A8A63 #4A518A
split-complementary
#8A4A71 #518A4A #4A8A83
monochromatic
#3A1F30 #623550 #8A4A71 #AC6590 #C28DAD

Accessibility & contrast

On white

6.37
#8A4A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A4A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4A71
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4A71#FFFFFF#000000##FFFFFF
##8A4A711.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5972
Deuteranopia (green-blind)
#5F636F
Tritanopia (blue-blind)
#914A58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4a71;
/* rgb */ color: rgb(138, 74, 113);
/* oklch */ color: oklch(49.9% 0.100 344.0);
Tailwind
colors: {
  custom: {
    50: '#ae7e99',
    500: '#8a4a71',
    950: '#000000',
  },
}
SCSS
$custom: #8a4a71;
$custom-light: #ae7e99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4a71",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 323.438,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49916,
    "c": 0.10011,
    "h": 344
  },
  "luminance": 0.11493
}

Semantic roles & 50–950 ramp

primary
#8A4A71
secondary
#82AE93
accent
#C68961
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4A71

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

Preview Lab → · Contrast checker → · Palette generator →

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