#8A4879#8A4879

#8A4879 is a mid, moderate pink. Relative luminance 0.114; OKLCH L 49.9% C 0.110 H 337.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8A4879
RGBrgb(138, 72, 121)
HSLhsl(315, 31%, 41%)
HSVhsv(315, 48%, 54%)
CMYKcmyk(0%, 47.8%, 12.3%, 45.9%)
CIE-LABlab(40.28, 34.93, -15.57)
CIE-LCHlch(40.28, 38.24, 335.97°)
OKLaboklab(49.93% 0.1018 -0.0418)
OKLCHoklch(49.93% 0.11 337.7)
XYZxyz(16.2499, 11.4195, 19.4338)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4879 #488A59
analogous
#7A488A #8A4879 #8A4858
triadic
#8A4879 #798A48 #48798A
tetradic
#8A4879 #8A7A48 #488A59 #48588A
square
#8A4879 #8A7A48 #488A59 #48588A
split-complementary
#8A4879 #588A48 #488A7A
monochromatic
#3A1E32 #623356 #8A4879 #AD629A #C28AB4

Accessibility & contrast

On white

6.40
#8A4879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A4879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4879
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4879#FFFFFF#000000##FFFFFF
##8A48791.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597B
Deuteranopia (green-blind)
#5B6377
Tritanopia (blue-blind)
#904A5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4879;
/* rgb */ color: rgb(138, 72, 121);
/* oklch */ color: oklch(49.9% 0.110 337.7);
Tailwind
colors: {
  custom: {
    50: '#ae7d9f',
    500: '#8a4879',
    950: '#000000',
  },
}
SCSS
$custom: #8a4879;
$custom-light: #ae7d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4879",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 315.455,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49926,
    "c": 0.11006,
    "h": 337.7
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#8A4879
secondary
#80AE8C
accent
#C87B60
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4879

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

Preview Lab → · Contrast checker → · Palette generator →

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