#AA2F99#AA2F99

#AA2F99 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.195 H 334.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AA2F99
RGBrgb(170, 47, 153)
HSLhsl(308, 57%, 43%)
HSVhsv(308, 72%, 67%)
CMYKcmyk(0%, 72.4%, 10%, 33.3%)
CIE-LABlab(42.58, 60.61, -31.11)
CIE-LCHlch(42.58, 68.13, 332.83°)
OKLaboklab(53.08% 0.176 -0.0851)
OKLCHoklch(53.08% 0.195 334.2)
XYZxyz(23.3441, 12.8810, 31.3876)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F99 #2FAA40
analogous
#7E2FAA #AA2F99 #AA2F5B
triadic
#AA2F99 #99AA2F #2F99AA
tetradic
#AA2F99 #AA7E2F #2FAA40 #2F5BAA
square
#AA2F99 #AA7E2F #2FAA40 #2F5BAA
split-complementary
#AA2F99 #5BAA2F #2FAA7E
monochromatic
#4A1443 #7A226E #AA2F99 #CD49BB #DA79CD

Accessibility & contrast

On white

5.87
#AA2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AA2F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F99
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F99#FFFFFF#000000##FFFFFF
##AA2F991.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#B23A61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa2f99;
/* rgb */ color: rgb(170, 47, 153);
/* oklch */ color: oklch(53.1% 0.195 334.2);
Tailwind
colors: {
  custom: {
    50: '#c773b7',
    500: '#aa2f99',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f99;
$custom-light: #c773b7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f99",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 308.293,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53083,
    "c": 0.19548,
    "h": 334.2
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#AA2F99
secondary
#72C27E
accent
#E05D48
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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