#AA3987#AA3987

#AA3987 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.170 H 342.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#AA3987
RGBrgb(170, 57, 135)
HSLhsl(319, 50%, 45%)
HSVhsv(319, 66%, 67%)
CMYKcmyk(0%, 66.5%, 20.6%, 33.3%)
CIE-LABlab(43.10, 54.18, -19.40)
CIE-LCHlch(43.10, 57.55, 340.30°)
OKLaboklab(53.19% 0.1621 -0.052)
OKLCHoklch(53.19% 0.17 342.2)
XYZxyz(22.4145, 13.2237, 24.2889)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3987 #39AA5C
analogous
#9539AA #AA3987 #AA394F
triadic
#AA3987 #87AA39 #3987AA
tetradic
#AA3987 #AA9539 #39AA5C #394FAA
square
#AA3987 #AA9539 #39AA5C #394FAA
split-complementary
#AA3987 #4FAA39 #39AA95
monochromatic
#4E1A3E #7C2A63 #AA3987 #C759A5 #D787BE

Accessibility & contrast

On white

5.76
#AA3987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AA3987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3987
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3987#FFFFFF#000000##FFFFFF
##AA39871.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#646D84
Tritanopia (blue-blind)
#B43A5B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa3987;
/* rgb */ color: rgb(170, 57, 135);
/* oklch */ color: oklch(53.2% 0.170 342.2);
Tailwind
colors: {
  custom: {
    50: '#c778aa',
    500: '#aa3987',
    950: '#000000',
  },
}
SCSS
$custom: #aa3987;
$custom-light: #c778aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3987",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 318.584,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.17024,
    "h": 342.2
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#AA3987
secondary
#7EC193
accent
#D9794E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA3987

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

Preview Lab → · Contrast checker → · Palette generator →

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