#AA2B95#AA2B95

#AA2B95 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.197 H 335.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AA2B95
RGBrgb(170, 43, 149)
HSLhsl(310, 60%, 42%)
HSVhsv(310, 75%, 67%)
CMYKcmyk(0%, 74.7%, 12.4%, 33.3%)
CIE-LABlab(41.92, 61.34, -29.74)
CIE-LCHlch(41.92, 68.17, 334.13°)
OKLaboklab(52.54% 0.1796 -0.0812)
OKLCHoklch(52.54% 0.197 335.7)
XYZxyz(22.8666, 12.4458, 29.6259)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B95 #2BAA40
analogous
#802BAA #AA2B95 #AA2B56
triadic
#AA2B95 #95AA2B #2B95AA
tetradic
#AA2B95 #AA802B #2BAA40 #2B56AA
square
#AA2B95 #AA802B #2BAA40 #2B56AA
split-complementary
#AA2B95 #56AA2B #2BAA80
monochromatic
#48123F #791F6A #AA2B95 #CF43B8 #DC74CB

Accessibility & contrast

On white

6.02
#AA2B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AA2B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B95
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B95#FFFFFF#000000##FFFFFF
##AA2B951.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#596A92
Tritanopia (blue-blind)
#B3355D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2b95;
/* rgb */ color: rgb(170, 43, 149);
/* oklch */ color: oklch(52.5% 0.197 335.7);
Tailwind
colors: {
  custom: {
    50: '#c772b4',
    500: '#aa2b95',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b95;
$custom-light: #c772b4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b95",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 309.921,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.19706,
    "h": 335.7
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#AA2B95
secondary
#6EC37C
accent
#E35F45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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