#AA2B99#AA2B99

#AA2B99 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.200 H 334.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AA2B99
RGBrgb(170, 43, 153)
HSLhsl(308, 60%, 42%)
HSVhsv(308, 75%, 67%)
CMYKcmyk(0%, 74.7%, 10%, 33.3%)
CIE-LABlab(42.12, 61.94, -31.85)
CIE-LCHlch(42.12, 69.64, 332.79°)
OKLaboklab(52.75% 0.1799 -0.0872)
OKLCHoklch(52.75% 0.2 334.1)
XYZxyz(23.1914, 12.5757, 31.3368)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B99 #2BAA3C
analogous
#7B2BAA #AA2B99 #AA2B5A
triadic
#AA2B99 #99AA2B #2B99AA
tetradic
#AA2B99 #AA7B2B #2BAA3C #2B5AAA
square
#AA2B99 #AA7B2B #2BAA3C #2B5AAA
split-complementary
#AA2B99 #5AAA2B #2BAA7B
monochromatic
#481241 #791F6D #AA2B99 #CF43BD #DC74CE

Accessibility & contrast

On white

5.97
#AA2B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA2B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B99
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B99#FFFFFF#000000##FFFFFF
##AA2B991.005.973.515.97
#FFFFFF5.971.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589C
Deuteranopia (green-blind)
#576A96
Tritanopia (blue-blind)
#B2375F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2b99;
/* rgb */ color: rgb(170, 43, 153);
/* oklch */ color: oklch(52.7% 0.200 334.1);
Tailwind
colors: {
  custom: {
    50: '#c772b7',
    500: '#aa2b99',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b99;
$custom-light: #c772b7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b99",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 308.031,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.1999,
    "h": 334.1
  },
  "luminance": 0.12574
}

Semantic roles & 50–950 ramp

primary
#AA2B99
secondary
#6EC379
accent
#E35A45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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