#8A4471#8A4471

#8A4471 is a mid, moderate pink. Relative luminance 0.107; OKLCH L 49.0% C 0.111 H 342.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8A4471
RGBrgb(138, 68, 113)
HSLhsl(321, 34%, 40%)
HSVhsv(321, 51%, 54%)
CMYKcmyk(0%, 50.7%, 18.1%, 45.9%)
CIE-LABlab(39.12, 35.74, -12.38)
CIE-LCHlch(39.12, 37.83, 340.89°)
OKLaboklab(48.96% 0.106 -0.0329)
OKLCHoklch(48.96% 0.111 342.7)
XYZxyz(15.5293, 10.7309, 16.8729)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4471 #448A5D
analogous
#80448A #8A4471 #8A444E
triadic
#8A4471 #718A44 #44718A
tetradic
#8A4471 #8A8044 #448A5D #444E8A
square
#8A4471 #8A8044 #448A5D #444E8A
split-complementary
#8A4471 #4E8A44 #448A80
monochromatic
#381C2E #61304F #8A4471 #AF5C91 #C385AD

Accessibility & contrast

On white

6.68
#8A4471 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8A4471 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4471
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4471#FFFFFF#000000##FFFFFF
##8A44711.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495573
Deuteranopia (green-blind)
#5B606F
Tritanopia (blue-blind)
#914455
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a4471;
/* rgb */ color: rgb(138, 68, 113);
/* oklch */ color: oklch(49.0% 0.111 342.7);
Tailwind
colors: {
  custom: {
    50: '#ae7a99',
    500: '#8a4471',
    950: '#000000',
  },
}
SCSS
$custom: #8a4471;
$custom-light: #ae7a99;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4471",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 113
  },
  "hsl": {
    "h": 321.429,
    "s": 33.981,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48958,
    "c": 0.11096,
    "h": 342.7
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#8A4471
secondary
#7CAE8E
accent
#CA845E
background
#FAF7F9
surface
#F5EEF2
border
#CFC9CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #8A4471

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

Preview Lab → · Contrast checker → · Palette generator →

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