#AA2B5A#AA2B5A

#AA2B5A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.166 H 3.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AA2B5A
RGBrgb(170, 43, 90)
HSLhsl(338, 60%, 42%)
HSVhsv(338, 75%, 67%)
CMYKcmyk(0%, 74.7%, 47.1%, 33.3%)
CIE-LABlab(39.60, 54.15, 3.34)
CIE-LCHlch(39.60, 54.25, 3.53°)
OKLaboklab(50.1% 0.1658 0.0092)
OKLCHoklch(50.1% 0.166 3.2)
XYZxyz(19.2885, 11.0145, 10.7812)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B5A #2BAA7B
analogous
#AA2B9A #AA2B5A #AA3C2B
triadic
#AA2B5A #5AAA2B #2B5AAA
tetradic
#AA2B5A #9AAA2B #2BAA7B #3C2BAA
square
#AA2B5A #9AAA2B #2BAA7B #3C2BAA
split-complementary
#AA2B5A #2BAA3C #2B9AAA
monochromatic
#481226 #791F40 #AA2B5A #CF4377 #DC749A

Accessibility & contrast

On white

6.56
#AA2B5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AA2B5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B5A
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B5A#FFFFFF#000000##FFFFFF
##AA2B5A1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#6A6657
Tritanopia (blue-blind)
#B9123F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #aa2b5a;
/* rgb */ color: rgb(170, 43, 90);
/* oklch */ color: oklch(50.1% 0.166 3.2);
Tailwind
colors: {
  custom: {
    50: '#c97088',
    500: '#aa2b5a',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b5a;
$custom-light: #c97088;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b5a",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 90
  },
  "hsl": {
    "h": 337.795,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.16609,
    "h": 3.2
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#AA2B5A
secondary
#6EC3A4
accent
#E3A845
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AA2B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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