#AA4F8A#AA4F8A

#AA4F8A is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.1% C 0.139 H 342.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AA4F8A
RGBrgb(170, 79, 138)
HSLhsl(321, 37%, 49%)
HSVhsv(321, 54%, 67%)
CMYKcmyk(0%, 53.5%, 18.8%, 33.3%)
CIE-LABlab(46.94, 44.56, -15.34)
CIE-LCHlch(46.94, 47.13, 341.01°)
OKLaboklab(56.06% 0.1325 -0.0408)
OKLCHoklch(56.06% 0.139 342.9)
XYZxyz(23.9615, 15.9749, 25.8613)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4F8A #4FAA6F
analogous
#9D4FAA #AA4F8A #AA4F5D
triadic
#AA4F8A #8AAA4F #4F8AAA
tetradic
#AA4F8A #AA9D4F #4FAA6F #4F5DAA
square
#AA4F8A #AA9D4F #4FAA6F #4F5DAA
split-complementary
#AA4F8A #5DAA4F #4FAA9D
monochromatic
#562846 #803C68 #AA4F8A #C077A6 #D3A0C1

Accessibility & contrast

On white

5.01
#AA4F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AA4F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4F8A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4F8A#FFFFFF#000000##FFFFFF
##AA4F8A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55668C
Deuteranopia (green-blind)
#6E7588
Tritanopia (blue-blind)
#B34F66
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa4f8a;
/* rgb */ color: rgb(170, 79, 138);
/* oklch */ color: oklch(56.1% 0.139 342.9);
Tailwind
colors: {
  custom: {
    50: '#c684ac',
    500: '#aa4f8a',
    950: '#000000',
  },
}
SCSS
$custom: #aa4f8a;
$custom-light: #c684ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4f8a",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 321.099,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56063,
    "c": 0.13864,
    "h": 342.9
  },
  "luminance": 0.15973
}

Semantic roles & 50–950 ramp

primary
#AA4F8A
secondary
#95C0A4
accent
#CD835B
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AA4F8A

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

Preview Lab → · Contrast checker → · Palette generator →

#AA4F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva