#AA2997#AA2997

#AA2997 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.201 H 334.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AA2997
RGBrgb(170, 41, 151)
HSLhsl(309, 61%, 41%)
HSVhsv(309, 76%, 67%)
CMYKcmyk(0%, 75.9%, 11.2%, 33.3%)
CIE-LABlab(41.80, 62.26, -31.14)
CIE-LCHlch(41.80, 69.62, 333.43°)
OKLaboklab(52.48% 0.1816 -0.0852)
OKLCHoklch(52.48% 0.201 334.9)
XYZxyz(22.9567, 12.3683, 30.4504)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2997 #29AA3C
analogous
#7D29AA #AA2997 #AA2957
triadic
#AA2997 #97AA29 #2997AA
tetradic
#AA2997 #AA7D29 #29AA3C #2957AA
square
#AA2997 #AA7D29 #29AA3C #2957AA
split-complementary
#AA2997 #57AA29 #29AA7D
monochromatic
#47113F #791D6B #AA2997 #D13FBB #DD71CD

Accessibility & contrast

On white

6.05
#AA2997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AA2997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2997
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2997#FFFFFF#000000##FFFFFF
##AA29971.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#576994
Tritanopia (blue-blind)
#B2345E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2997;
/* rgb */ color: rgb(170, 41, 151);
/* oklch */ color: oklch(52.5% 0.201 334.9);
Tailwind
colors: {
  custom: {
    50: '#c771b6',
    500: '#aa2997',
    950: '#000000',
  },
}
SCSS
$custom: #aa2997;
$custom-light: #c771b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2997",
  "rgb": {
    "r": 170,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 308.837,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52483,
    "c": 0.20058,
    "h": 334.9
  },
  "luminance": 0.12366
}

Semantic roles & 50–950 ramp

primary
#AA2997
secondary
#6BC478
accent
#E45B44
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2997

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

Preview Lab → · Contrast checker → · Palette generator →

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