#AA2B82#AA2B82

#AA2B82 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.184 H 343.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AA2B82
RGBrgb(170, 43, 130)
HSLhsl(319, 60%, 42%)
HSVhsv(319, 75%, 67%)
CMYKcmyk(0%, 74.7%, 23.5%, 33.3%)
CIE-LABlab(41.04, 58.67, -19.51)
CIE-LCHlch(41.04, 61.83, 341.60°)
OKLaboklab(51.62% 0.177 -0.0521)
OKLCHoklch(51.62% 0.185 343.6)
XYZxyz(21.4715, 11.8878, 22.2786)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B82 #2BAA53
analogous
#932BAA #AA2B82 #AA2B42
triadic
#AA2B82 #82AA2B #2B82AA
tetradic
#AA2B82 #AA932B #2BAA53 #2B42AA
square
#AA2B82 #AA932B #2BAA53 #2B42AA
split-complementary
#AA2B82 #42AA2B #2BAA93
monochromatic
#481237 #791F5D #AA2B82 #CF43A3 #DC74BB

Accessibility & contrast

On white

6.22
#AA2B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AA2B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B82
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B82#FFFFFF#000000##FFFFFF
##AA2B821.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395384
Deuteranopia (green-blind)
#60687F
Tritanopia (blue-blind)
#B52B53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2b82;
/* rgb */ color: rgb(170, 43, 130);
/* oklch */ color: oklch(51.6% 0.184 343.6);
Tailwind
colors: {
  custom: {
    50: '#c771a6',
    500: '#aa2b82',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b82;
$custom-light: #c771a6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b82",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 318.898,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.1845,
    "h": 343.6
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#AA2B82
secondary
#6EC389
accent
#E37745
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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