#8A4A76#8A4A76

#8A4A76 is a mid, moderate pink. Relative luminance 0.116; OKLCH L 50.1% C 0.104 H 340.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8A4A76
RGBrgb(138, 74, 118)
HSLhsl(319, 30%, 42%)
HSVhsv(319, 46%, 54%)
CMYKcmyk(0%, 46.4%, 14.5%, 45.9%)
CIE-LABlab(40.59, 33.30, -13.25)
CIE-LCHlch(40.59, 35.84, 338.30°)
OKLaboklab(50.12% 0.0977 -0.0354)
OKLCHoklch(50.12% 0.104 340.1)
XYZxyz(16.2002, 11.6099, 18.5237)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4A76 #4A8A5E
analogous
#7E4A8A #8A4A76 #8A4A56
triadic
#8A4A76 #768A4A #4A768A
tetradic
#8A4A76 #8A7E4A #4A8A5E #4A568A
square
#8A4A76 #8A7E4A #4A8A5E #4A568A
split-complementary
#8A4A76 #568A4A #4A8A7E
monochromatic
#3A1F32 #623554 #8A4A76 #AC6596 #C28DB1

Accessibility & contrast

On white

6.32
#8A4A76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A4A76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4A76
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4A76#FFFFFF#000000##FFFFFF
##8A4A761.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5978
Deuteranopia (green-blind)
#5E6374
Tritanopia (blue-blind)
#914B5B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a4a76;
/* rgb */ color: rgb(138, 74, 118);
/* oklch */ color: oklch(50.1% 0.104 340.1);
Tailwind
colors: {
  custom: {
    50: '#ae7e9d',
    500: '#8a4a76',
    950: '#000000',
  },
}
SCSS
$custom: #8a4a76;
$custom-light: #ae7e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4a76",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 118
  },
  "hsl": {
    "h": 318.75,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.10393,
    "h": 340.1
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#8A4A76
secondary
#82AE90
accent
#C68161
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4A76

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

Preview Lab → · Contrast checker → · Palette generator →

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