#AA2B7A#AA2B7A

#AA2B7A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.180 H 347.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AA2B7A
RGBrgb(170, 43, 122)
HSLhsl(323, 60%, 42%)
HSVhsv(323, 75%, 67%)
CMYKcmyk(0%, 74.7%, 28.2%, 33.3%)
CIE-LABlab(40.70, 57.64, -15.08)
CIE-LCHlch(40.70, 59.58, 345.34°)
OKLaboklab(51.27% 0.1753 -0.0398)
OKLCHoklch(51.27% 0.18 347.2)
XYZxyz(20.9553, 11.6813, 19.5597)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B7A #2BAA5B
analogous
#9B2BAA #AA2B7A #AA2B3B
triadic
#AA2B7A #7AAA2B #2B7AAA
tetradic
#AA2B7A #AA9B2B #2BAA5B #2B3BAA
square
#AA2B7A #AA9B2B #2BAA5B #2B3BAA
split-complementary
#AA2B7A #3BAA2B #2BAA9B
monochromatic
#481234 #791F57 #AA2B7A #CF439A #DC74B4

Accessibility & contrast

On white

6.30
#AA2B7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AA2B7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B7A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B7A#FFFFFF#000000##FFFFFF
##AA2B7A1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527C
Deuteranopia (green-blind)
#636877
Tritanopia (blue-blind)
#B6264F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2b7a;
/* rgb */ color: rgb(170, 43, 122);
/* oklch */ color: oklch(51.3% 0.180 347.2);
Tailwind
colors: {
  custom: {
    50: '#c771a0',
    500: '#aa2b7a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b7a;
$custom-light: #c771a0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b7a",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 322.677,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.1798,
    "h": 347.2
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

primary
#AA2B7A
secondary
#6EC38E
accent
#E38145
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA2B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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