#AA1B8C#AA1B8C

#AA1B8C is a mid, highly saturated pink. Relative luminance 0.112; OKLCH L 51.0% C 0.206 H 338.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AA1B8C
RGBrgb(170, 27, 140)
HSLhsl(313, 73%, 39%)
HSVhsv(313, 84%, 67%)
CMYKcmyk(0%, 84.1%, 17.6%, 33.3%)
CIE-LABlab(39.96, 64.41, -27.33)
CIE-LCHlch(39.96, 69.97, 337.01°)
OKLaboklab(50.99% 0.1918 -0.0742)
OKLCHoklch(50.99% 0.206 338.9)
XYZxyz(21.7037, 11.2256, 25.8296)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B8C #1BAA39
analogous
#801BAA #AA1B8C #AA1B45
triadic
#AA1B8C #8CAA1B #1B8CAA
tetradic
#AA1B8C #AA801B #1BAA39 #1B45AA
square
#AA1B8C #AA801B #1BAA39 #1B45AA
split-complementary
#AA1B8C #45AA1B #1BAA80
monochromatic
#400A35 #751361 #AA1B8C #DC26B6 #E55BC8

Accessibility & contrast

On white

6.47
#AA1B8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA1B8C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1B8C#FFFFFF#000000##FFFFFF
##AA1B8C1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#586689
Tritanopia (blue-blind)
#B42454
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa1b8c;
/* rgb */ color: rgb(170, 27, 140);
/* oklch */ color: oklch(51.0% 0.206 338.9);
Tailwind
colors: {
  custom: {
    50: '#c86cae',
    500: '#aa1b8c',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b8c;
$custom-light: #c86cae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b8c",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 140
  },
  "hsl": {
    "h": 312.587,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.20566,
    "h": 338.9
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

primary
#AA1B8C
secondary
#58C970
accent
#EF5F39
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA1B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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