#AA2B97#AA2B97

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

Color values

HEX#AA2B97
RGBrgb(170, 43, 151)
HSLhsl(309, 60%, 42%)
HSVhsv(309, 75%, 67%)
CMYKcmyk(0%, 74.7%, 11.2%, 33.3%)
CIE-LABlab(42.02, 61.63, -30.80)
CIE-LCHlch(42.02, 68.90, 333.45°)
OKLaboklab(52.64% 0.1797 -0.0842)
OKLCHoklch(52.64% 0.198 334.9)
XYZxyz(23.0276, 12.5102, 30.4741)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B97 #2BAA3E
analogous
#7D2BAA #AA2B97 #AA2B58
triadic
#AA2B97 #97AA2B #2B97AA
tetradic
#AA2B97 #AA7D2B #2BAA3E #2B58AA
square
#AA2B97 #AA7D2B #2BAA3E #2B58AA
split-complementary
#AA2B97 #58AA2B #2BAA7D
monochromatic
#481240 #791F6C #AA2B97 #CF43BA #DC74CC

Accessibility & contrast

On white

6.00
#AA2B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2B97
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B97#FFFFFF#000000##FFFFFF
##AA2B971.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579A
Deuteranopia (green-blind)
#586A94
Tritanopia (blue-blind)
#B2365E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2b97;
/* rgb */ color: rgb(170, 43, 151);
/* oklch */ color: oklch(52.6% 0.198 334.9);
Tailwind
colors: {
  custom: {
    50: '#c772b6',
    500: '#aa2b97',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b97;
$custom-light: #c772b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b97",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 308.976,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.19848,
    "h": 334.9
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#AA2B97
secondary
#6EC37A
accent
#E35D45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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