#8A4079#8A4079

#8A4079 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 48.7% C 0.124 H 336.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A4079
RGBrgb(138, 64, 121)
HSLhsl(314, 37%, 40%)
HSVhsv(314, 54%, 54%)
CMYKcmyk(0%, 53.6%, 12.3%, 45.9%)
CIE-LABlab(38.64, 39.20, -18.08)
CIE-LCHlch(38.64, 43.17, 335.24°)
OKLaboklab(48.71% 0.1143 -0.0488)
OKLCHoklch(48.71% 0.124 336.9)
XYZxyz(15.7659, 10.4517, 19.2724)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4079 #408A51
analogous
#76408A #8A4079 #8A4054
triadic
#8A4079 #798A40 #40798A
tetradic
#8A4079 #8A7640 #408A51 #40548A
square
#8A4079 #8A7640 #408A51 #40548A
split-complementary
#8A4079 #548A40 #408A76
monochromatic
#361930 #602D54 #8A4079 #B1569C #C480B5

Accessibility & contrast

On white

6.80
#8A4079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A4079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4079
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4079#FFFFFF#000000##FFFFFF
##8A40791.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547B
Deuteranopia (green-blind)
#565F77
Tritanopia (blue-blind)
#904357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a4079;
/* rgb */ color: rgb(138, 64, 121);
/* oklch */ color: oklch(48.7% 0.124 336.9);
Tailwind
colors: {
  custom: {
    50: '#ae78a0',
    500: '#8a4079',
    950: '#000000',
  },
}
SCSS
$custom: #8a4079;
$custom-light: #ae78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4079",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 313.784,
    "s": 36.634,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48706,
    "c": 0.12429,
    "h": 336.9
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#8A4079
secondary
#77AF84
accent
#CD755B
background
#FAF7F9
surface
#F5EDF2
border
#CFC8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8A4079

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

Preview Lab → · Contrast checker → · Palette generator →

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