#AA387C#AA387C

#AA387C is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.165 H 347.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AA387C
RGBrgb(170, 56, 124)
HSLhsl(324, 50%, 44%)
HSVhsv(324, 67%, 67%)
CMYKcmyk(0%, 67.1%, 27.1%, 33.3%)
CIE-LABlab(42.51, 53.07, -13.57)
CIE-LCHlch(42.51, 54.78, 345.66°)
OKLaboklab(52.61% 0.1609 -0.0357)
OKLCHoklch(52.61% 0.165 347.5)
XYZxyz(21.6307, 12.8319, 20.4025)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA387C #38AA66
analogous
#9F38AA #AA387C #AA3843
triadic
#AA387C #7CAA38 #387CAA
tetradic
#AA387C #AA9F38 #38AA66 #3843AA
square
#AA387C #AA9F38 #38AA66 #3843AA
split-complementary
#AA387C #43AA38 #38AA9F
monochromatic
#4E1A39 #7C295A #AA387C #C8579A #D785B6

Accessibility & contrast

On white

5.89
#AA387C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AA387C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA387C
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA387C#FFFFFF#000000##FFFFFF
##AA387C1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587E
Deuteranopia (green-blind)
#676C79
Tritanopia (blue-blind)
#B63555
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa387c;
/* rgb */ color: rgb(170, 56, 124);
/* oklch */ color: oklch(52.6% 0.165 347.5);
Tailwind
colors: {
  custom: {
    50: '#c777a2',
    500: '#aa387c',
    950: '#000000',
  },
}
SCSS
$custom: #aa387c;
$custom-light: #c777a2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa387c",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 324.211,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.16479,
    "h": 347.5
  },
  "luminance": 0.1283
}

Semantic roles & 50–950 ramp

primary
#AA387C
secondary
#7DC198
accent
#DA864E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #AA387C

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

Preview Lab → · Contrast checker → · Palette generator →

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