#AA3F97#AA3F97

#AA3F97 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.173 H 335.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AA3F97
RGBrgb(170, 63, 151)
HSLhsl(311, 46%, 46%)
HSVhsv(311, 63%, 67%)
CMYKcmyk(0%, 62.9%, 11.2%, 33.3%)
CIE-LABlab(44.71, 54.08, -26.58)
CIE-LCHlch(44.71, 60.26, 333.82°)
OKLaboklab(54.6% 0.1574 -0.0723)
OKLCHoklch(54.6% 0.173 335.3)
XYZxyz(23.9412, 14.3373, 30.7786)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3F97 #3FAA52
analogous
#873FAA #AA3F97 #AA3F61
triadic
#AA3F97 #97AA3F #3F97AA
tetradic
#AA3F97 #AA873F #3FAA52 #3F61AA
square
#AA3F97 #AA873F #3FAA52 #3F61AA
split-complementary
#AA3F97 #61AA3F #3FAA87
monochromatic
#511E48 #7D2E6F #AA3F97 #C562B3 #D58EC9

Accessibility & contrast

On white

5.43
#AA3F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AA3F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3F97
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3F97#FFFFFF#000000##FFFFFF
##AA3F971.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609A
Deuteranopia (green-blind)
#617094
Tritanopia (blue-blind)
#B24665
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa3f97;
/* rgb */ color: rgb(170, 63, 151);
/* oklch */ color: oklch(54.6% 0.173 335.3);
Tailwind
colors: {
  custom: {
    50: '#c67bb6',
    500: '#aa3f97',
    950: '#000000',
  },
}
SCSS
$custom: #aa3f97;
$custom-light: #c67bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3f97",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 310.654,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.17324,
    "h": 335.3
  },
  "luminance": 0.14335
}

Semantic roles & 50–950 ramp

primary
#AA3F97
secondary
#85C08F
accent
#D66A52
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AA3F97

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

Preview Lab → · Contrast checker → · Palette generator →

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