#AA2F8A#AA2F8A

#AA2F8A is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.185 H 340.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AA2F8A
RGBrgb(170, 47, 138)
HSLhsl(316, 57%, 43%)
HSVhsv(316, 72%, 67%)
CMYKcmyk(0%, 72.4%, 18.8%, 33.3%)
CIE-LABlab(41.87, 58.40, -23.13)
CIE-LCHlch(41.87, 62.81, 338.39°)
OKLaboklab(52.33% 0.1742 -0.0624)
OKLCHoklch(52.33% 0.185 340.3)
XYZxyz(22.1821, 12.4162, 25.2682)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F8A #2FAA4F
analogous
#8D2FAA #AA2F8A #AA2F4C
triadic
#AA2F8A #8AAA2F #2F8AAA
tetradic
#AA2F8A #AA8D2F #2FAA4F #2F4CAA
square
#AA2F8A #AA8D2F #2FAA4F #2F4CAA
split-complementary
#AA2F8A #4CAA2F #2FAA8D
monochromatic
#4A143C #7A2263 #AA2F8A #CD49AB #DA79C1

Accessibility & contrast

On white

6.03
#AA2F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AA2F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F8A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F8A#FFFFFF#000000##FFFFFF
##AA2F8A1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568D
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#B43259
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2f8a;
/* rgb */ color: rgb(170, 47, 138);
/* oklch */ color: oklch(52.3% 0.185 340.3);
Tailwind
colors: {
  custom: {
    50: '#c773ac',
    500: '#aa2f8a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f8a;
$custom-light: #c773ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f8a",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 315.61,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52334,
    "c": 0.18501,
    "h": 340.3
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#AA2F8A
secondary
#72C287
accent
#E06F48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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