#8A4872#8A4872

#8A4872 is a mid, moderate pink. Relative luminance 0.113; OKLCH L 49.6% C 0.104 H 342.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A4872
RGBrgb(138, 72, 114)
HSLhsl(322, 31%, 41%)
HSVhsv(322, 48%, 54%)
CMYKcmyk(0%, 47.8%, 17.4%, 45.9%)
CIE-LABlab(40.01, 33.73, -11.67)
CIE-LCHlch(40.01, 35.69, 340.92°)
OKLaboklab(49.63% 0.0998 -0.031)
OKLCHoklch(49.63% 0.104 342.7)
XYZxyz(15.8361, 11.2540, 17.2545)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4872 #488A60
analogous
#81488A #8A4872 #8A4851
triadic
#8A4872 #728A48 #48728A
tetradic
#8A4872 #8A8148 #488A60 #48518A
square
#8A4872 #8A8148 #488A60 #48518A
split-complementary
#8A4872 #518A48 #488A81
monochromatic
#3A1E30 #623351 #8A4872 #AD6292 #C28AAE

Accessibility & contrast

On white

6.46
#8A4872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A4872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4872
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4872#FFFFFF#000000##FFFFFF
##8A48721.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a4872;
/* rgb */ color: rgb(138, 72, 114);
/* oklch */ color: oklch(49.6% 0.104 342.7);
Tailwind
colors: {
  custom: {
    50: '#ae7d9a',
    500: '#8a4872',
    950: '#000000',
  },
}
SCSS
$custom: #8a4872;
$custom-light: #ae7d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4872",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 321.818,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.10449,
    "h": 342.7
  },
  "luminance": 0.11253
}

Semantic roles & 50–950 ramp

primary
#8A4872
secondary
#80AE91
accent
#C88660
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4872

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

Preview Lab → · Contrast checker → · Palette generator →

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