#AA1B87#AA1B87

#AA1B87 is a mid, highly saturated pink. Relative luminance 0.111; OKLCH L 50.7% C 0.203 H 340.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AA1B87
RGBrgb(170, 27, 135)
HSLhsl(315, 73%, 39%)
HSVhsv(315, 84%, 67%)
CMYKcmyk(0%, 84.1%, 20.6%, 33.3%)
CIE-LABlab(39.72, 63.75, -24.63)
CIE-LCHlch(39.72, 68.34, 338.87°)
OKLaboklab(50.74% 0.1913 -0.0665)
OKLCHoklch(50.74% 0.203 340.8)
XYZxyz(21.3434, 11.0815, 23.9319)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B87 #1BAA3E
analogous
#851BAA #AA1B87 #AA1B3F
triadic
#AA1B87 #87AA1B #1B87AA
tetradic
#AA1B87 #AA851B #1BAA3E #1B3FAA
square
#AA1B87 #AA851B #1BAA3E #1B3FAA
split-complementary
#AA1B87 #3FAA1B #1BAA85
monochromatic
#400A33 #75135D #AA1B87 #DC26B0 #E55BC3

Accessibility & contrast

On white

6.53
#AA1B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AA1B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1B87
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1B87#FFFFFF#000000##FFFFFF
##AA1B871.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F8A
Deuteranopia (green-blind)
#5A6584
Tritanopia (blue-blind)
#B52051
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa1b87;
/* rgb */ color: rgb(170, 27, 135);
/* oklch */ color: oklch(50.7% 0.203 340.8);
Tailwind
colors: {
  custom: {
    50: '#c86baa',
    500: '#aa1b87',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b87;
$custom-light: #c86baa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b87",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 314.685,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.20254,
    "h": 340.8
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#AA1B87
secondary
#58C974
accent
#EF6539
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA1B87

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

Preview Lab → · Contrast checker → · Palette generator →

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