#AA2F52#AA2F52

#AA2F52 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.2% C 0.160 H 8.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AA2F52
RGBrgb(170, 47, 82)
HSLhsl(343, 57%, 43%)
HSVhsv(343, 72%, 67%)
CMYKcmyk(0%, 72.4%, 51.8%, 33.3%)
CIE-LABlab(39.90, 52.01, 8.83)
CIE-LCHlch(39.90, 52.76, 9.63°)
OKLaboklab(50.25% 0.1583 0.0227)
OKLCHoklch(50.25% 0.16 8.2)
XYZxyz(19.1187, 11.1909, 9.1343)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F52 #2FAA87
analogous
#AA2F8F #AA2F52 #AA4A2F
triadic
#AA2F52 #52AA2F #2F52AA
tetradic
#AA2F52 #8FAA2F #2FAA87 #4A2FAA
square
#AA2F52 #8FAA2F #2FAA87 #4A2FAA
split-complementary
#AA2F52 #2FAA4A #2F8FAA
monochromatic
#4A1424 #7A223B #AA2F52 #CD496F #DA7995

Accessibility & contrast

On white

6.49
#AA2F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AA2F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F52
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F52#FFFFFF#000000##FFFFFF
##AA2F521.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E53
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#B9153D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa2f52;
/* rgb */ color: rgb(170, 47, 82);
/* oklch */ color: oklch(50.2% 0.160 8.2);
Tailwind
colors: {
  custom: {
    50: '#c97182',
    500: '#aa2f52',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f52;
$custom-light: #c97182;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f52",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 342.927,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50246,
    "c": 0.15991,
    "h": 8.2
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#AA2F52
secondary
#72C2AC
accent
#E0B548
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AA2F52

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

Preview Lab → · Contrast checker → · Palette generator →

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