#AA5276#AA5276

#AA5276 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 55.8% C 0.122 H 356.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AA5276
RGBrgb(170, 82, 118)
HSLhsl(335, 35%, 49%)
HSVhsv(335, 52%, 67%)
CMYKcmyk(0%, 51.8%, 30.6%, 33.3%)
CIE-LABlab(46.83, 40.15, -3.43)
CIE-LCHlch(46.83, 40.29, 355.12°)
OKLaboklab(55.75% 0.1217 -0.0085)
OKLCHoklch(55.75% 0.122 356)
XYZxyz(22.8658, 15.8907, 18.9990)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA5276 #52AA86
analogous
#AA52A2 #AA5276 #AA5A52
triadic
#AA5276 #76AA52 #5276AA
tetradic
#AA5276 #A2AA52 #52AA86 #5A52AA
square
#AA5276 #A2AA52 #52AA86 #5A52AA
split-complementary
#AA5276 #52AA5A #52A2AA
monochromatic
#572A3D #813E59 #AA5276 #BF7A96 #D3A4B7

Accessibility & contrast

On white

5.03
#AA5276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AA5276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA5276
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA5276#FFFFFF#000000##FFFFFF
##AA52761.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6577
Deuteranopia (green-blind)
#757574
Tritanopia (blue-blind)
#B64D5F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #aa5276;
/* rgb */ color: rgb(170, 82, 118);
/* oklch */ color: oklch(55.8% 0.122 356.0);
Tailwind
colors: {
  custom: {
    50: '#c6859d',
    500: '#aa5276',
    950: '#000000',
  },
}
SCSS
$custom: #aa5276;
$custom-light: #c6859d;
$custom-dark: #000000;
JSON
{
  "hex": "#aa5276",
  "rgb": {
    "r": 170,
    "g": 82,
    "b": 118
  },
  "hsl": {
    "h": 335.455,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55752,
    "c": 0.12204,
    "h": 356
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#AA5276
secondary
#98C0B0
accent
#CB9E5D
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #AA5276

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

Preview Lab → · Contrast checker → · Palette generator →

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