#8A4E80#8A4E80

#8A4E80 is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.2% C 0.105 H 333.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8A4E80
RGBrgb(138, 78, 128)
HSLhsl(310, 28%, 42%)
HSVhsv(310, 43%, 54%)
CMYKcmyk(0%, 43.5%, 7.2%, 45.9%)
CIE-LABlab(41.86, 32.87, -17.44)
CIE-LCHlch(41.86, 37.21, 332.05°)
OKLaboklab(51.21% 0.094 -0.0471)
OKLCHoklch(51.21% 0.105 333.4)
XYZxyz(17.1018, 12.4115, 21.9128)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E80 #4E8A58
analogous
#764E8A #8A4E80 #8A4E62
triadic
#8A4E80 #808A4E #4E808A
tetradic
#8A4E80 #8A764E #4E8A58 #4E628A
square
#8A4E80 #8A764E #4E8A58 #4E628A
split-complementary
#8A4E80 #628A4E #4E8A76
monochromatic
#3C2237 #63385C #8A4E80 #AB6AA0 #C191B9

Accessibility & contrast

On white

6.03
#8A4E80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A4E80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E80
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E80#FFFFFF#000000##FFFFFF
##8A4E801.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D82
Deuteranopia (green-blind)
#5D667E
Tritanopia (blue-blind)
#8F5161
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4e80;
/* rgb */ color: rgb(138, 78, 128);
/* oklch */ color: oklch(51.2% 0.105 333.4);
Tailwind
colors: {
  custom: {
    50: '#ad81a5',
    500: '#8a4e80',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e80;
$custom-light: #ad81a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e80",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 310,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51206,
    "c": 0.10519,
    "h": 333.4
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

primary
#8A4E80
secondary
#86AE8D
accent
#C47464
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4E80

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

Preview Lab → · Contrast checker → · Palette generator →

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