#AA1B8A#AA1B8A

#AA1B8A is a mid, highly saturated pink. Relative luminance 0.112; OKLCH L 50.9% C 0.204 H 339.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AA1B8A
RGBrgb(170, 27, 138)
HSLhsl(313, 73%, 39%)
HSVhsv(313, 84%, 67%)
CMYKcmyk(0%, 84.1%, 18.8%, 33.3%)
CIE-LABlab(39.86, 64.15, -26.25)
CIE-LCHlch(39.86, 69.31, 337.74°)
OKLaboklab(50.88% 0.1916 -0.0711)
OKLCHoklch(50.88% 0.204 339.6)
XYZxyz(21.5576, 11.1671, 25.0600)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B8A #1BAA3B
analogous
#821BAA #AA1B8A #AA1B42
triadic
#AA1B8A #8AAA1B #1B8AAA
tetradic
#AA1B8A #AA821B #1BAA3B #1B42AA
square
#AA1B8A #AA821B #1BAA3B #1B42AA
split-complementary
#AA1B8A #42AA1B #1BAA82
monochromatic
#400A34 #75135F #AA1B8A #DC26B4 #E55BC6

Accessibility & contrast

On white

6.50
#AA1B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AA1B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1B8A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1B8A#FFFFFF#000000##FFFFFF
##AA1B8A1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#B42253
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa1b8a;
/* rgb */ color: rgb(170, 27, 138);
/* oklch */ color: oklch(50.9% 0.204 339.6);
Tailwind
colors: {
  custom: {
    50: '#c86cac',
    500: '#aa1b8a',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b8a;
$custom-light: #c86cac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b8a",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 313.427,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.2044,
    "h": 339.6
  },
  "luminance": 0.11165
}

Semantic roles & 50–950 ramp

primary
#AA1B8A
secondary
#58C971
accent
#EF6139
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA1B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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