#AA2B8B#AA2B8B

#AA2B8B is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.190 H 339.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AA2B8B
RGBrgb(170, 43, 139)
HSLhsl(315, 60%, 42%)
HSVhsv(315, 75%, 67%)
CMYKcmyk(0%, 74.7%, 18.2%, 33.3%)
CIE-LABlab(41.44, 59.89, -24.41)
CIE-LCHlch(41.44, 64.68, 337.83°)
OKLaboklab(52.04% 0.1784 -0.066)
OKLCHoklch(52.04% 0.19 339.7)
XYZxyz(22.1022, 12.1401, 25.6003)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B8B #2BAA4A
analogous
#8A2BAA #AA2B8B #AA2B4C
triadic
#AA2B8B #8BAA2B #2B8BAA
tetradic
#AA2B8B #AA8A2B #2BAA4A #2B4CAA
square
#AA2B8B #AA8A2B #2BAA4A #2B4CAA
split-complementary
#AA2B8B #4CAA2B #2BAA8A
monochromatic
#48123B #791F63 #AA2B8B #CF43AD #DC74C2

Accessibility & contrast

On white

6.13
#AA2B8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AA2B8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B8B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B8B#FFFFFF#000000##FFFFFF
##AA2B8B1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#B43058
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2b8b;
/* rgb */ color: rgb(170, 43, 139);
/* oklch */ color: oklch(52.0% 0.190 339.7);
Tailwind
colors: {
  custom: {
    50: '#c771ad',
    500: '#aa2b8b',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b8b;
$custom-light: #c771ad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b8b",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 314.646,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52036,
    "c": 0.19023,
    "h": 339.7
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

primary
#AA2B8B
secondary
#6EC382
accent
#E36C45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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