#AA297A#AA297A

#AA297A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.182 H 347.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AA297A
RGBrgb(170, 41, 122)
HSLhsl(322, 61%, 41%)
HSVhsv(322, 76%, 67%)
CMYKcmyk(0%, 75.9%, 28.2%, 33.3%)
CIE-LABlab(40.47, 58.29, -15.43)
CIE-LCHlch(40.47, 60.30, 345.17°)
OKLaboklab(51.1% 0.1774 -0.0408)
OKLCHoklch(51.1% 0.182 347.1)
XYZxyz(20.8844, 11.5394, 19.5361)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA297A #29AA59
analogous
#9A29AA #AA297A #AA293A
triadic
#AA297A #7AAA29 #297AAA
tetradic
#AA297A #AA9A29 #29AA59 #293AAA
square
#AA297A #AA9A29 #29AA59 #293AAA
split-complementary
#AA297A #3AAA29 #29AA9A
monochromatic
#471133 #791D57 #AA297A #D13F9B #DD71B5

Accessibility & contrast

On white

6.35
#AA297A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AA297A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA297A
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA297A#FFFFFF#000000##FFFFFF
##AA297A1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517C
Deuteranopia (green-blind)
#626777
Tritanopia (blue-blind)
#B6244E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa297a;
/* rgb */ color: rgb(170, 41, 122);
/* oklch */ color: oklch(51.1% 0.182 347.1);
Tailwind
colors: {
  custom: {
    50: '#c870a0',
    500: '#aa297a',
    950: '#000000',
  },
}
SCSS
$custom: #aa297a;
$custom-light: #c870a0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa297a",
  "rgb": {
    "r": 170,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 322.326,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.182,
    "h": 347.1
  },
  "luminance": 0.11537
}

Semantic roles & 50–950 ramp

primary
#AA297A
secondary
#6BC48C
accent
#E47F44
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AA297A

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

Preview Lab → · Contrast checker → · Palette generator →

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