#8A4479#8A4479

#8A4479 is a mid, moderate pink. Relative luminance 0.109; OKLCH L 49.3% C 0.117 H 337.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A4479
RGBrgb(138, 68, 121)
HSLhsl(315, 34%, 40%)
HSVhsv(315, 51%, 54%)
CMYKcmyk(0%, 50.7%, 12.3%, 45.9%)
CIE-LABlab(39.44, 37.09, -16.85)
CIE-LCHlch(39.44, 40.74, 335.57°)
OKLaboklab(49.3% 0.1081 -0.0454)
OKLCHoklch(49.3% 0.117 337.2)
XYZxyz(15.9996, 10.9191, 19.3503)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4479 #448A55
analogous
#78448A #8A4479 #8A4456
triadic
#8A4479 #798A44 #44798A
tetradic
#8A4479 #8A7844 #448A55 #44568A
square
#8A4479 #8A7844 #448A55 #44568A
split-complementary
#8A4479 #568A44 #448A78
monochromatic
#381C31 #613055 #8A4479 #AF5C9B #C385B4

Accessibility & contrast

On white

6.60
#8A4479 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8A4479 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4479
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4479#FFFFFF#000000##FFFFFF
##8A44791.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46567B
Deuteranopia (green-blind)
#596177
Tritanopia (blue-blind)
#904659
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a4479;
/* rgb */ color: rgb(138, 68, 121);
/* oklch */ color: oklch(49.3% 0.117 337.2);
Tailwind
colors: {
  custom: {
    50: '#ae7b9f',
    500: '#8a4479',
    950: '#000000',
  },
}
SCSS
$custom: #8a4479;
$custom-light: #ae7b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4479",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 121
  },
  "hsl": {
    "h": 314.571,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.11727,
    "h": 337.2
  },
  "luminance": 0.10918
}

Semantic roles & 50–950 ramp

primary
#8A4479
secondary
#7CAE88
accent
#CA785E
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #8A4479

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

Preview Lab → · Contrast checker → · Palette generator →

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