#8A4877#8A4877

#8A4877 is a mid, moderate pink. Relative luminance 0.114; OKLCH L 49.8% C 0.108 H 339.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8A4877
RGBrgb(138, 72, 119)
HSLhsl(317, 31%, 41%)
HSVhsv(317, 48%, 54%)
CMYKcmyk(0%, 47.8%, 13.8%, 45.9%)
CIE-LABlab(40.20, 34.58, -14.46)
CIE-LCHlch(40.20, 37.48, 337.30°)
OKLaboklab(49.84% 0.1013 -0.0387)
OKLCHoklch(49.84% 0.108 339.1)
XYZxyz(16.1285, 11.3710, 18.7945)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4877 #488A5B
analogous
#7C488A #8A4877 #8A4856
triadic
#8A4877 #778A48 #48778A
tetradic
#8A4877 #8A7C48 #488A5B #48568A
square
#8A4877 #8A7C48 #488A5B #48568A
split-complementary
#8A4877 #568A48 #488A7C
monochromatic
#3A1E32 #623354 #8A4877 #AD6298 #C28AB2

Accessibility & contrast

On white

6.41
#8A4877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A4877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4877
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4877#FFFFFF#000000##FFFFFF
##8A48771.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5879
Deuteranopia (green-blind)
#5C6375
Tritanopia (blue-blind)
#914A5A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a4877;
/* rgb */ color: rgb(138, 72, 119);
/* oklch */ color: oklch(49.8% 0.108 339.1);
Tailwind
colors: {
  custom: {
    50: '#ae7d9e',
    500: '#8a4877',
    950: '#000000',
  },
}
SCSS
$custom: #8a4877;
$custom-light: #ae7d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4877",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 317.273,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49839,
    "c": 0.10841,
    "h": 339.1
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#8A4877
secondary
#80AE8D
accent
#C87E60
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4877

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

Preview Lab → · Contrast checker → · Palette generator →

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