#AA3F8A#AA3F8A

#AA3F8A is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.0% C 0.164 H 341.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AA3F8A
RGBrgb(170, 63, 138)
HSLhsl(318, 46%, 46%)
HSVhsv(318, 63%, 67%)
CMYKcmyk(0%, 62.9%, 18.8%, 33.3%)
CIE-LABlab(44.14, 52.08, -19.62)
CIE-LCHlch(44.14, 55.65, 339.36°)
OKLaboklab(54% 0.1551 -0.0526)
OKLCHoklch(54% 0.164 341.3)
XYZxyz(22.9431, 13.9381, 25.5218)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3F8A #3FAA5F
analogous
#943FAA #AA3F8A #AA3F54
triadic
#AA3F8A #8AAA3F #3F8AAA
tetradic
#AA3F8A #AA943F #3FAA5F #3F54AA
square
#AA3F8A #AA943F #3FAA5F #3F54AA
split-complementary
#AA3F8A #54AA3F #3FAA94
monochromatic
#511E42 #7D2E66 #AA3F8A #C562A7 #D58EC0

Accessibility & contrast

On white

5.54
#AA3F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AA3F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3F8A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3F8A#FFFFFF#000000##FFFFFF
##AA3F8A1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#B4415F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa3f8a;
/* rgb */ color: rgb(170, 63, 138);
/* oklch */ color: oklch(54.0% 0.164 341.3);
Tailwind
colors: {
  custom: {
    50: '#c67bac',
    500: '#aa3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #aa3f8a;
$custom-light: #c67bac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3f8a",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 317.944,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.16376,
    "h": 341.3
  },
  "luminance": 0.13936
}

Semantic roles & 50–950 ramp

primary
#AA3F8A
secondary
#85C096
accent
#D67A52
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AA3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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