#AA3F8D#AA3F8D

#AA3F8D is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.1% C 0.166 H 339.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AA3F8D
RGBrgb(170, 63, 141)
HSLhsl(316, 46%, 46%)
HSVhsv(316, 63%, 67%)
CMYKcmyk(0%, 62.9%, 17.1%, 33.3%)
CIE-LABlab(44.27, 52.53, -21.24)
CIE-LCHlch(44.27, 56.66, 337.98°)
OKLaboklab(54.13% 0.1557 -0.0572)
OKLCHoklch(54.13% 0.166 339.8)
XYZxyz(23.1633, 14.0262, 26.6815)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3F8D #3FAA5C
analogous
#913FAA #AA3F8D #AA3F57
triadic
#AA3F8D #8DAA3F #3F8DAA
tetradic
#AA3F8D #AA913F #3FAA5C #3F57AA
square
#AA3F8D #AA913F #3FAA5C #3F57AA
split-complementary
#AA3F8D #57AA3F #3FAA91
monochromatic
#511E43 #7D2E68 #AA3F8D #C562AA #D58EC2

Accessibility & contrast

On white

5.52
#AA3F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AA3F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3F8D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3F8D#FFFFFF#000000##FFFFFF
##AA3F8D1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8F
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#B34260
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #aa3f8d;
/* rgb */ color: rgb(170, 63, 141);
/* oklch */ color: oklch(54.1% 0.166 339.8);
Tailwind
colors: {
  custom: {
    50: '#c67bae',
    500: '#aa3f8d',
    950: '#000000',
  },
}
SCSS
$custom: #aa3f8d;
$custom-light: #c67bae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3f8d",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 316.262,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54129,
    "c": 0.16585,
    "h": 339.8
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#AA3F8D
secondary
#85C095
accent
#D67652
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AA3F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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