#AA2E82#AA2E82

#AA2E82 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.181 H 343.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA2E82
RGBrgb(170, 46, 130)
HSLhsl(319, 57%, 42%)
HSVhsv(319, 73%, 67%)
CMYKcmyk(0%, 72.9%, 23.5%, 33.3%)
CIE-LABlab(41.40, 57.65, -18.96)
CIE-LCHlch(41.40, 60.69, 341.80°)
OKLaboklab(51.88% 0.1739 -0.0506)
OKLCHoklch(51.88% 0.181 343.8)
XYZxyz(21.5846, 12.1140, 22.3163)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E82 #2EAA56
analogous
#942EAA #AA2E82 #AA2E44
triadic
#AA2E82 #82AA2E #2E82AA
tetradic
#AA2E82 #AA942E #2EAA56 #2E44AA
square
#AA2E82 #AA942E #2EAA56 #2E44AA
split-complementary
#AA2E82 #44AA2E #2EAA94
monochromatic
#4A1438 #7A215D #AA2E82 #CD48A2 #DA78BB

Accessibility & contrast

On white

6.14
#AA2E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA2E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E82
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E82#FFFFFF#000000##FFFFFF
##AA2E821.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5484
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#B52E54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2e82;
/* rgb */ color: rgb(170, 46, 130);
/* oklch */ color: oklch(51.9% 0.181 343.8);
Tailwind
colors: {
  custom: {
    50: '#c772a6',
    500: '#aa2e82',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e82;
$custom-light: #c772a6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e82",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 319.355,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.18107,
    "h": 343.8
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#AA2E82
secondary
#71C38B
accent
#E17947
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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