#AA2A83#AA2A83

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

Color values

HEX#AA2A83
RGBrgb(170, 42, 131)
HSLhsl(318, 60%, 42%)
HSVhsv(318, 75%, 67%)
CMYKcmyk(0%, 75.3%, 22.9%, 33.3%)
CIE-LABlab(40.97, 59.13, -20.24)
CIE-LCHlch(40.97, 62.49, 341.10°)
OKLaboklab(51.58% 0.1782 -0.0542)
OKLCHoklch(51.58% 0.186 343.1)
XYZxyz(21.5031, 11.8429, 22.6218)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A83 #2AAA51
analogous
#912AAA #AA2A83 #AA2A43
triadic
#AA2A83 #83AA2A #2A83AA
tetradic
#AA2A83 #AA912A #2AAA51 #2A43AA
square
#AA2A83 #AA912A #2AAA51 #2A43AA
split-complementary
#AA2A83 #43AA2A #2AAA91
monochromatic
#481237 #791E5D #AA2A83 #D041A5 #DC72BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA2A83#FFFFFF#000000##FFFFFF
##AA2A831.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)
#385385
Deuteranopia (green-blind)
#606880
Tritanopia (blue-blind)
#B52A53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2a83;
/* rgb */ color: rgb(170, 42, 131);
/* oklch */ color: oklch(51.6% 0.186 343.1);
Tailwind
colors: {
  custom: {
    50: '#c771a7',
    500: '#aa2a83',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a83;
$custom-light: #c771a7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a83",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 318.281,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51577,
    "c": 0.18622,
    "h": 343.1
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#AA2A83
secondary
#6CC387
accent
#E47544
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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