#8A4979#8A4979

#8A4979 is a mid, moderate pink. Relative luminance 0.115; OKLCH L 50.1% C 0.108 H 337.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A4979
RGBrgb(138, 73, 121)
HSLhsl(316, 31%, 41%)
HSVhsv(316, 47%, 54%)
CMYKcmyk(0%, 47.1%, 12.3%, 45.9%)
CIE-LABlab(40.49, 34.38, -15.25)
CIE-LCHlch(40.49, 37.61, 336.08°)
OKLaboklab(50.09% 0.1002 -0.0409)
OKLCHoklch(50.09% 0.108 337.8)
XYZxyz(16.3150, 11.5499, 19.4555)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4979 #498A5A
analogous
#7B498A #8A4979 #8A4959
triadic
#8A4979 #798A49 #49798A
tetradic
#8A4979 #8A7B49 #498A5A #49598A
square
#8A4979 #8A7B49 #498A5A #49598A
split-complementary
#8A4979 #598A49 #498A7B
monochromatic
#3A1F33 #623456 #8A4979 #AD639A #C28BB4

Accessibility & contrast

On white

6.34
#8A4979 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8A4979 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4979
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4979#FFFFFF#000000##FFFFFF
##8A49791.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B597B
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#904B5B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4979;
/* rgb */ color: rgb(138, 73, 121);
/* oklch */ color: oklch(50.1% 0.108 337.8);
Tailwind
colors: {
  custom: {
    50: '#ae7e9f',
    500: '#8a4979',
    950: '#000000',
  },
}
SCSS
$custom: #8a4979;
$custom-light: #ae7e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4979",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 121
  },
  "hsl": {
    "h": 315.692,
    "s": 30.806,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50085,
    "c": 0.10823,
    "h": 337.8
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#8A4979
secondary
#81AE8D
accent
#C77C61
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4979

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

Preview Lab → · Contrast checker → · Palette generator →

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