#8A4873#8A4873

#8A4873 is a mid, moderate pink. Relative luminance 0.113; OKLCH L 49.7% C 0.105 H 342.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8A4873
RGBrgb(138, 72, 115)
HSLhsl(321, 31%, 41%)
HSVhsv(321, 48%, 54%)
CMYKcmyk(0%, 47.8%, 16.7%, 45.9%)
CIE-LABlab(40.04, 33.90, -12.23)
CIE-LCHlch(40.04, 36.04, 340.16°)
OKLaboklab(49.67% 0.1001 -0.0325)
OKLCHoklch(49.67% 0.105 342)
XYZxyz(15.8933, 11.2769, 17.5559)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4873 #488A5F
analogous
#80488A #8A4873 #8A4852
triadic
#8A4873 #738A48 #48738A
tetradic
#8A4873 #8A8048 #488A5F #48528A
square
#8A4873 #8A8048 #488A5F #48528A
split-complementary
#8A4873 #528A48 #488A80
monochromatic
#3A1E30 #623351 #8A4873 #AD6293 #C28AAF

Accessibility & contrast

On white

6.45
#8A4873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A4873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4873
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4873#FFFFFF#000000##FFFFFF
##8A48731.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5874
Deuteranopia (green-blind)
#5D6271
Tritanopia (blue-blind)
#914858
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a4873;
/* rgb */ color: rgb(138, 72, 115);
/* oklch */ color: oklch(49.7% 0.105 342.0);
Tailwind
colors: {
  custom: {
    50: '#ae7d9b',
    500: '#8a4873',
    950: '#000000',
  },
}
SCSS
$custom: #8a4873;
$custom-light: #ae7d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4873",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 320.909,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.10525,
    "h": 342
  },
  "luminance": 0.11276
}

Semantic roles & 50–950 ramp

primary
#8A4873
secondary
#80AE90
accent
#C88460
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4873

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

Preview Lab → · Contrast checker → · Palette generator →

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