#8A4D74#8A4D74

#8A4D74 is a mid, moderate pink. Relative luminance 0.120; OKLCH L 50.5% C 0.097 H 342.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8A4D74
RGBrgb(138, 77, 116)
HSLhsl(322, 28%, 42%)
HSVhsv(322, 44%, 54%)
CMYKcmyk(0%, 44.2%, 15.9%, 45.9%)
CIE-LABlab(41.17, 31.29, -11.14)
CIE-LCHlch(41.17, 33.21, 340.41°)
OKLaboklab(50.53% 0.0922 -0.0296)
OKLCHoklch(50.53% 0.097 342.2)
XYZxyz(16.2877, 11.9730, 17.9728)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4D74 #4D8A63
analogous
#814D8A #8A4D74 #8A4D56
triadic
#8A4D74 #748A4D #4D748A
tetradic
#8A4D74 #8A814D #4D8A63 #4D568A
square
#8A4D74 #8A814D #4D8A63 #4D568A
split-complementary
#8A4D74 #568A4D #4D8A81
monochromatic
#3B2132 #633753 #8A4D74 #AB6993 #C190B0

Accessibility & contrast

On white

6.19
#8A4D74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8A4D74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4D74
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4D74#FFFFFF#000000##FFFFFF
##8A4D741.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505B75
Deuteranopia (green-blind)
#606572
Tritanopia (blue-blind)
#914D5B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a4d74;
/* rgb */ color: rgb(138, 77, 116);
/* oklch */ color: oklch(50.5% 0.097 342.2);
Tailwind
colors: {
  custom: {
    50: '#ad809c',
    500: '#8a4d74',
    950: '#000000',
  },
}
SCSS
$custom: #8a4d74;
$custom-light: #ad809c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4d74",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 116
  },
  "hsl": {
    "h": 321.639,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.09682,
    "h": 342.2
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#8A4D74
secondary
#85AE94
accent
#C58663
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4D74

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

Preview Lab → · Contrast checker → · Palette generator →

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