#AA2B81#AA2B81

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

Color values

HEX#AA2B81
RGBrgb(170, 43, 129)
HSLhsl(319, 60%, 42%)
HSVhsv(319, 75%, 67%)
CMYKcmyk(0%, 74.7%, 24.1%, 33.3%)
CIE-LABlab(40.99, 58.54, -18.96)
CIE-LCHlch(40.99, 61.53, 342.05°)
OKLaboklab(51.57% 0.1768 -0.0506)
OKLCHoklch(51.57% 0.184 344)
XYZxyz(21.4047, 11.8610, 21.9268)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B81 #2BAA54
analogous
#942BAA #AA2B81 #AA2B42
triadic
#AA2B81 #81AA2B #2B81AA
tetradic
#AA2B81 #AA942B #2BAA54 #2B42AA
square
#AA2B81 #AA942B #2BAA54 #2B42AA
split-complementary
#AA2B81 #42AA2B #2BAA94
monochromatic
#481237 #791F5C #AA2B81 #CF43A2 #DC74BA

Accessibility & contrast

On white

6.23
#AA2B81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AA2B81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B81
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B81#FFFFFF#000000##FFFFFF
##AA2B811.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5383
Deuteranopia (green-blind)
#61687E
Tritanopia (blue-blind)
#B52A52
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2b81;
/* rgb */ color: rgb(170, 43, 129);
/* oklch */ color: oklch(51.6% 0.184 344.0);
Tailwind
colors: {
  custom: {
    50: '#c771a5',
    500: '#aa2b81',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b81;
$custom-light: #c771a5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b81",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 319.37,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.18389,
    "h": 344
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2B81

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

Preview Lab → · Contrast checker → · Palette generator →

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