#AA1B8B#AA1B8B

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

Color values

HEX#AA1B8B
RGBrgb(170, 27, 139)
HSLhsl(313, 73%, 39%)
HSVhsv(313, 84%, 67%)
CMYKcmyk(0%, 84.1%, 18.2%, 33.3%)
CIE-LABlab(39.91, 64.28, -26.79)
CIE-LCHlch(39.91, 69.64, 337.37°)
OKLaboklab(50.93% 0.1917 -0.0726)
OKLCHoklch(50.93% 0.205 339.2)
XYZxyz(21.6303, 11.1962, 25.4430)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B8B #1BAA3A
analogous
#811BAA #AA1B8B #AA1B43
triadic
#AA1B8B #8BAA1B #1B8BAA
tetradic
#AA1B8B #AA811B #1BAA3A #1B43AA
square
#AA1B8B #AA811B #1BAA3A #1B43AA
split-complementary
#AA1B8B #43AA1B #1BAA81
monochromatic
#400A35 #751360 #AA1B8B #DC26B5 #E55BC7

Accessibility & contrast

On white

6.48
#AA1B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AA1B8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1B8B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1B8B#FFFFFF#000000##FFFFFF
##AA1B8B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#B42354
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa1b8b;
/* rgb */ color: rgb(170, 27, 139);
/* oklch */ color: oklch(50.9% 0.205 339.2);
Tailwind
colors: {
  custom: {
    50: '#c86cad',
    500: '#aa1b8b',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b8b;
$custom-light: #c86cad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b8b",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 313.007,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.20503,
    "h": 339.2
  },
  "luminance": 0.11194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA1B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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