#8A4D79#8A4D79

#8A4D79 is a mid, moderate pink. Relative luminance 0.121; OKLCH L 50.7% C 0.101 H 338.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8A4D79
RGBrgb(138, 77, 121)
HSLhsl(317, 28%, 42%)
HSVhsv(317, 44%, 54%)
CMYKcmyk(0%, 44.2%, 12.3%, 45.9%)
CIE-LABlab(41.36, 32.16, -13.92)
CIE-LCHlch(41.36, 35.04, 336.59°)
OKLaboklab(50.74% 0.0937 -0.0373)
OKLCHoklch(50.74% 0.101 338.3)
XYZxyz(16.5864, 12.0925, 19.5459)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4D79 #4D8A5E
analogous
#7D4D8A #8A4D79 #8A4D5B
triadic
#8A4D79 #798A4D #4D798A
tetradic
#8A4D79 #8A7D4D #4D8A5E #4D5B8A
square
#8A4D79 #8A7D4D #4D8A5E #4D5B8A
split-complementary
#8A4D79 #5B8A4D #4D8A7D
monochromatic
#3B2134 #633757 #8A4D79 #AB6999 #C190B4

Accessibility & contrast

On white

6.14
#8A4D79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A4D79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4D79
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4D79#FFFFFF#000000##FFFFFF
##8A4D791.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5C7B
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#904F5D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4d79;
/* rgb */ color: rgb(138, 77, 121);
/* oklch */ color: oklch(50.7% 0.101 338.3);
Tailwind
colors: {
  custom: {
    50: '#ad809f',
    500: '#8a4d79',
    950: '#000000',
  },
}
SCSS
$custom: #8a4d79;
$custom-light: #ad809f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4d79",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 121
  },
  "hsl": {
    "h": 316.721,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50739,
    "c": 0.10085,
    "h": 338.3
  },
  "luminance": 0.12092
}

Semantic roles & 50–950 ramp

primary
#8A4D79
secondary
#85AE90
accent
#C57E63
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4D79

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

Preview Lab → · Contrast checker → · Palette generator →

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