#AA5271#AA5271

#AA5271 is a mid, moderate pink. Relative luminance 0.158; OKLCH L 55.6% C 0.120 H 359.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AA5271
RGBrgb(170, 82, 113)
HSLhsl(339, 35%, 49%)
HSVhsv(339, 52%, 67%)
CMYKcmyk(0%, 51.8%, 33.5%, 33.3%)
CIE-LABlab(46.68, 39.49, -0.62)
CIE-LCHlch(46.68, 39.50, 359.09°)
OKLaboklab(55.59% 0.12 -0.0011)
OKLCHoklch(55.59% 0.12 359.5)
XYZxyz(22.5765, 15.7750, 17.4755)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5271 #52AA8B
analogous
#AA529D #AA5271 #AA5F52
triadic
#AA5271 #71AA52 #5271AA
tetradic
#AA5271 #9DAA52 #52AA8B #5F52AA
square
#AA5271 #9DAA52 #52AA8B #5F52AA
split-complementary
#AA5271 #52AA5F #529DAA
monochromatic
#572A3A #813E56 #AA5271 #BF7A92 #D3A4B4

Accessibility & contrast

On white

5.05
#AA5271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AA5271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA5271
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5271#FFFFFF#000000##FFFFFF
##AA52711.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606472
Deuteranopia (green-blind)
#76756F
Tritanopia (blue-blind)
#B64C5D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa5271;
/* rgb */ color: rgb(170, 82, 113);
/* oklch */ color: oklch(55.6% 0.120 359.5);
Tailwind
colors: {
  custom: {
    50: '#c68599',
    500: '#aa5271',
    950: '#000000',
  },
}
SCSS
$custom: #aa5271;
$custom-light: #c68599;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5271",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 338.864,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.11998,
    "h": 359.5
  },
  "luminance": 0.15773
}

Semantic roles & 50–950 ramp

primary
#AA5271
secondary
#98C0B2
accent
#CBA45D
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AA5271

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

Preview Lab → · Contrast checker → · Palette generator →

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