#AA2B96#AA2B96

#AA2B96 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.198 H 335.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AA2B96
RGBrgb(170, 43, 150)
HSLhsl(309, 60%, 42%)
HSVhsv(309, 75%, 67%)
CMYKcmyk(0%, 74.7%, 11.8%, 33.3%)
CIE-LABlab(41.97, 61.48, -30.27)
CIE-LCHlch(41.97, 68.53, 333.79°)
OKLaboklab(52.59% 0.1797 -0.0827)
OKLCHoklch(52.59% 0.198 335.3)
XYZxyz(22.9468, 12.4779, 30.0482)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B96 #2BAA3F
analogous
#7F2BAA #AA2B96 #AA2B57
triadic
#AA2B96 #96AA2B #2B96AA
tetradic
#AA2B96 #AA7F2B #2BAA3F #2B57AA
square
#AA2B96 #AA7F2B #2BAA3F #2B57AA
split-complementary
#AA2B96 #57AA2B #2BAA7F
monochromatic
#481240 #791F6B #AA2B96 #CF43B9 #DC74CB

Accessibility & contrast

On white

6.01
#AA2B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AA2B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B96
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B96#FFFFFF#000000##FFFFFF
##AA2B961.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5799
Deuteranopia (green-blind)
#596A93
Tritanopia (blue-blind)
#B3355E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2b96;
/* rgb */ color: rgb(170, 43, 150);
/* oklch */ color: oklch(52.6% 0.198 335.3);
Tailwind
colors: {
  custom: {
    50: '#c772b5',
    500: '#aa2b96',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b96;
$custom-light: #c772b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b96",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 309.449,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.19777,
    "h": 335.3
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#AA2B96
secondary
#6EC37B
accent
#E35E45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2B96

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

Preview Lab → · Contrast checker → · Palette generator →

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