#AA2162#AA2162

#AA2162 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.179 H 357.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#AA2162
RGBrgb(170, 33, 98)
HSLhsl(332, 67%, 40%)
HSVhsv(332, 81%, 67%)
CMYKcmyk(0%, 80.6%, 42.4%, 33.3%)
CIE-LABlab(38.76, 58.00, -2.96)
CIE-LCHlch(38.76, 58.08, 357.07°)
OKLaboklab(49.56% 0.1785 -0.0071)
OKLCHoklch(49.56% 0.179 357.7)
XYZxyz(19.3275, 10.5182, 12.5654)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2162 #21AA69
analogous
#AA21A7 #AA2162 #AA2521
triadic
#AA2162 #62AA21 #2162AA
tetradic
#AA2162 #A7AA21 #21AA69 #2521AA
square
#AA2162 #A7AA21 #21AA69 #2521AA
split-complementary
#AA2162 #21AA25 #21A7AA
monochromatic
#430D27 #771744 #AA2162 #D73180 #E164A0

Accessibility & contrast

On white

6.77
#AA2162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AA2162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2162
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2162#FFFFFF#000000##FFFFFF
##AA21621.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414B64
Deuteranopia (green-blind)
#66645F
Tritanopia (blue-blind)
#B8023F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #aa2162;
/* rgb */ color: rgb(170, 33, 98);
/* oklch */ color: oklch(49.6% 0.179 357.7);
Tailwind
colors: {
  custom: {
    50: '#c96c8e',
    500: '#aa2162',
    950: '#000000',
  },
}
SCSS
$custom: #aa2162;
$custom-light: #c96c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2162",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 331.533,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49556,
    "c": 0.17861,
    "h": 357.7
  },
  "luminance": 0.10516
}

Semantic roles & 50–950 ramp

primary
#AA2162
secondary
#61C696
accent
#EA983D
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080C
muted
#837A7D

Preview Lab

Preview with #AA2162

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

Preview Lab → · Contrast checker → · Palette generator →

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