#AA2A7B#AA2A7B

#AA2A7B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.181 H 346.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AA2A7B
RGBrgb(170, 42, 123)
HSLhsl(322, 60%, 42%)
HSVhsv(322, 75%, 67%)
CMYKcmyk(0%, 75.3%, 27.6%, 33.3%)
CIE-LABlab(40.63, 58.09, -15.82)
CIE-LCHlch(40.63, 60.21, 344.77°)
OKLaboklab(51.22% 0.1766 -0.0418)
OKLCHoklch(51.22% 0.181 346.7)
XYZxyz(20.9817, 11.6344, 19.8758)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2A7B #2AAA59
analogous
#992AAA #AA2A7B #AA2A3B
triadic
#AA2A7B #7BAA2A #2A7BAA
tetradic
#AA2A7B #AA992A #2AAA59 #2A3BAA
square
#AA2A7B #AA992A #2AAA59 #2A3BAA
split-complementary
#AA2A7B #3BAA2A #2AAA99
monochromatic
#481234 #791E57 #AA2A7B #D0419C #DC72B5

Accessibility & contrast

On white

6.31
#AA2A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AA2A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2A7B
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2A7B#FFFFFF#000000##FFFFFF
##AA2A7B1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527D
Deuteranopia (green-blind)
#626878
Tritanopia (blue-blind)
#B6264F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2a7b;
/* rgb */ color: rgb(170, 42, 123);
/* oklch */ color: oklch(51.2% 0.181 346.7);
Tailwind
colors: {
  custom: {
    50: '#c770a1',
    500: '#aa2a7b',
    950: '#000000',
  },
}
SCSS
$custom: #aa2a7b;
$custom-light: #c770a1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2a7b",
  "rgb": {
    "r": 170,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 322.031,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.18148,
    "h": 346.7
  },
  "luminance": 0.11632
}

Semantic roles & 50–950 ramp

primary
#AA2A7B
secondary
#6CC38C
accent
#E47F44
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080F
muted
#827B7E

Preview Lab

Preview with #AA2A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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