#8A4579#8A4579

#8A4579 is a mid, moderate pink. Relative luminance 0.110; OKLCH L 49.5% C 0.115 H 337.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8A4579
RGBrgb(138, 69, 121)
HSLhsl(315, 33%, 41%)
HSVhsv(315, 50%, 54%)
CMYKcmyk(0%, 50%, 12.3%, 45.9%)
CIE-LABlab(39.65, 36.56, -16.54)
CIE-LCHlch(39.65, 40.12, 335.66°)
OKLaboklab(49.46% 0.1066 -0.0445)
OKLCHoklch(49.46% 0.115 337.3)
XYZxyz(16.0606, 11.0411, 19.3707)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4579 #458A56
analogous
#78458A #8A4579 #8A4556
triadic
#8A4579 #798A45 #45798A
tetradic
#8A4579 #8A7845 #458A56 #45568A
square
#8A4579 #8A7845 #458A56 #45568A
split-complementary
#8A4579 #568A45 #458A78
monochromatic
#381C31 #613155 #8A4579 #AE5E9B #C387B4

Accessibility & contrast

On white

6.55
#8A4579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8A4579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4579
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4579#FFFFFF#000000##FFFFFF
##8A45791.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4579;
/* rgb */ color: rgb(138, 69, 121);
/* oklch */ color: oklch(49.5% 0.115 337.3);
Tailwind
colors: {
  custom: {
    50: '#ae7b9f',
    500: '#8a4579',
    950: '#000000',
  },
}
SCSS
$custom: #8a4579;
$custom-light: #ae7b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4579",
  "rgb": {
    "r": 138,
    "g": 69,
    "b": 121
  },
  "hsl": {
    "h": 314.783,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49456,
    "c": 0.11548,
    "h": 337.3
  },
  "luminance": 0.1104
}

Semantic roles & 50–950 ramp

primary
#8A4579
secondary
#7DAE89
accent
#C9795E
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #8A4579

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

Preview Lab → · Contrast checker → · Palette generator →

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