#AA3F87#AA3F87

#AA3F87 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.9% C 0.162 H 342.7°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AA3F87
RGBrgb(170, 63, 135)
HSLhsl(320, 46%, 46%)
HSVhsv(320, 63%, 67%)
CMYKcmyk(0%, 62.9%, 20.6%, 33.3%)
CIE-LABlab(44.02, 51.64, -17.99)
CIE-LCHlch(44.02, 54.68, 340.80°)
OKLaboklab(53.86% 0.1544 -0.048)
OKLCHoklch(53.86% 0.162 342.7)
XYZxyz(22.7289, 13.8524, 24.3937)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3F87 #3FAA62
analogous
#973FAA #AA3F87 #AA3F51
triadic
#AA3F87 #87AA3F #3F87AA
tetradic
#AA3F87 #AA973F #3FAA62 #3F51AA
square
#AA3F87 #AA973F #3FAA62 #3F51AA
split-complementary
#AA3F87 #51AA3F #3FAA97
monochromatic
#511E40 #7D2E64 #AA3F87 #C562A4 #D58EBE

Accessibility & contrast

On white

5.57
#AA3F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AA3F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3F87
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3F87#FFFFFF#000000##FFFFFF
##AA3F871.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475D89
Deuteranopia (green-blind)
#676F84
Tritanopia (blue-blind)
#B4405D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #aa3f87;
/* rgb */ color: rgb(170, 63, 135);
/* oklch */ color: oklch(53.9% 0.162 342.7);
Tailwind
colors: {
  custom: {
    50: '#c67baa',
    500: '#aa3f87',
    950: '#000000',
  },
}
SCSS
$custom: #aa3f87;
$custom-light: #c67baa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3f87",
  "rgb": {
    "r": 170,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 319.626,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.16173,
    "h": 342.7
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#AA3F87
secondary
#85C098
accent
#D67D52
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AA3F87

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

Preview Lab → · Contrast checker → · Palette generator →

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