#AA4F97#AA4F97

#AA4F97 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.6% C 0.148 H 336.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AA4F97
RGBrgb(170, 79, 151)
HSLhsl(313, 37%, 49%)
HSVhsv(313, 54%, 67%)
CMYKcmyk(0%, 53.5%, 11.2%, 33.3%)
CIE-LABlab(47.46, 46.65, -22.32)
CIE-LCHlch(47.46, 51.71, 334.43°)
OKLaboklab(56.62% 0.1356 -0.0604)
OKLCHoklch(56.62% 0.148 336)
XYZxyz(24.9596, 16.3742, 31.1181)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4F97 #4FAA62
analogous
#904FAA #AA4F97 #AA4F6A
triadic
#AA4F97 #97AA4F #4F97AA
tetradic
#AA4F97 #AA904F #4FAA62 #4F6AAA
square
#AA4F97 #AA904F #4FAA62 #4F6AAA
split-complementary
#AA4F97 #6AAA4F #4FAA90
monochromatic
#56284D #803C72 #AA4F97 #C077B0 #D3A0C8

Accessibility & contrast

On white

4.91
#AA4F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AA4F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4F97
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4F97#FFFFFF#000000##FFFFFF
##AA4F971.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506899
Deuteranopia (green-blind)
#6A7695
Tritanopia (blue-blind)
#B2536C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #aa4f97;
/* rgb */ color: rgb(170, 79, 151);
/* oklch */ color: oklch(56.6% 0.148 336.0);
Tailwind
colors: {
  custom: {
    50: '#c584b5',
    500: '#aa4f97',
    950: '#000000',
  },
}
SCSS
$custom: #aa4f97;
$custom-light: #c584b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4f97",
  "rgb": {
    "r": 170,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 312.527,
    "s": 36.546,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5662,
    "c": 0.14844,
    "h": 336
  },
  "luminance": 0.16372
}

Semantic roles & 50–950 ramp

primary
#AA4F97
secondary
#95C09E
accent
#CD735B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #AA4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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