#AA2A5A#AA2A5A

#AA2A5A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.167 H 3.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AA2A5A
RGBrgb(170, 42, 90)
HSLhsl(338, 60%, 42%)
HSVhsv(338, 75%, 67%)
CMYKcmyk(0%, 75.3%, 47.1%, 33.3%)
CIE-LABlab(39.48, 54.49, 3.17)
CIE-LCHlch(39.48, 54.58, 3.33°)
OKLaboklab(50.01% 0.1669 0.0087)
OKLCHoklch(50.01% 0.167 3)
XYZxyz(19.2526, 10.9427, 10.7692)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A5A #2AAA7A
analogous
#AA2A9A #AA2A5A #AA3A2A
triadic
#AA2A5A #5AAA2A #2A5AAA
tetradic
#AA2A5A #9AAA2A #2AAA7A #3A2AAA
square
#AA2A5A #9AAA2A #2AAA7A #3A2AAA
split-complementary
#AA2A5A #2AAA3A #2A9AAA
monochromatic
#481226 #791E40 #AA2A5A #D04177 #DC729A

Accessibility & contrast

On white

6.59
#AA2A5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AA2A5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A5A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A5A#FFFFFF#000000##FFFFFF
##AA2A5A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#6A6657
Tritanopia (blue-blind)
#B9103F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #aa2a5a;
/* rgb */ color: rgb(170, 42, 90);
/* oklch */ color: oklch(50.0% 0.167 3.0);
Tailwind
colors: {
  custom: {
    50: '#c96f88',
    500: '#aa2a5a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a5a;
$custom-light: #c96f88;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a5a",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 337.5,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50009,
    "c": 0.16716,
    "h": 3
  },
  "luminance": 0.1094
}

Semantic roles & 50–950 ramp

primary
#AA2A5A
secondary
#6CC3A3
accent
#E4A844
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AA2A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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