#8A4E79#8A4E79

#8A4E79 is a mid, moderate pink. Relative luminance 0.122; OKLCH L 50.9% C 0.099 H 338.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8A4E79
RGBrgb(138, 78, 121)
HSLhsl(317, 28%, 42%)
HSVhsv(317, 43%, 54%)
CMYKcmyk(0%, 43.5%, 12.3%, 45.9%)
CIE-LABlab(41.58, 31.59, -13.58)
CIE-LCHlch(41.58, 34.39, 336.74°)
OKLaboklab(50.91% 0.0921 -0.0363)
OKLCHoklch(50.91% 0.099 338.5)
XYZxyz(16.6569, 12.2335, 19.5694)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E79 #4E8A5F
analogous
#7D4E8A #8A4E79 #8A4E5B
triadic
#8A4E79 #798A4E #4E798A
tetradic
#8A4E79 #8A7D4E #4E8A5F #4E5B8A
square
#8A4E79 #8A7D4E #4E8A5F #4E5B8A
split-complementary
#8A4E79 #5B8A4E #4E8A7D
monochromatic
#3C2234 #633857 #8A4E79 #AB6A99 #C191B4

Accessibility & contrast

On white

6.09
#8A4E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8A4E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E79
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E79#FFFFFF#000000##FFFFFF
##8A4E791.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C7B
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#90505E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4e79;
/* rgb */ color: rgb(138, 78, 121);
/* oklch */ color: oklch(50.9% 0.099 338.5);
Tailwind
colors: {
  custom: {
    50: '#ad819f',
    500: '#8a4e79',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e79;
$custom-light: #ad819f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e79",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 317,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.09899,
    "h": 338.5
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#8A4E79
secondary
#86AE91
accent
#C47F64
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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