#AA2B9C#AA2B9C

#AA2B9C is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.202 H 333.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AA2B9C
RGBrgb(170, 43, 156)
HSLhsl(307, 60%, 42%)
HSVhsv(307, 75%, 67%)
CMYKcmyk(0%, 74.7%, 8.2%, 33.3%)
CIE-LABlab(42.27, 62.39, -33.41)
CIE-LCHlch(42.27, 70.78, 331.83°)
OKLaboklab(52.91% 0.18 -0.0917)
OKLCHoklch(52.91% 0.202 333)
XYZxyz(23.4423, 12.6761, 32.6581)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B9C #2BAA39
analogous
#792BAA #AA2B9C #AA2B5D
triadic
#AA2B9C #9CAA2B #2B9CAA
tetradic
#AA2B9C #AA792B #2BAA39 #2B5DAA
square
#AA2B9C #AA792B #2BAA39 #2B5DAA
split-complementary
#AA2B9C #5DAA2B #2BAA79
monochromatic
#481242 #791F6F #AA2B9C #CF43C0 #DC74D0

Accessibility & contrast

On white

5.94
#AA2B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AA2B9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B9C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B9C#FFFFFF#000000##FFFFFF
##AA2B9C1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#B23861
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2b9c;
/* rgb */ color: rgb(170, 43, 156);
/* oklch */ color: oklch(52.9% 0.202 333.0);
Tailwind
colors: {
  custom: {
    50: '#c772b9',
    500: '#aa2b9c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b9c;
$custom-light: #c772b9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b9c",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 306.614,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52908,
    "c": 0.20207,
    "h": 333
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#AA2B9C
secondary
#6EC377
accent
#E35645
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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