#AA2996#AA2996

#AA2996 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.4% C 0.200 H 335.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AA2996
RGBrgb(170, 41, 150)
HSLhsl(309, 61%, 41%)
HSVhsv(309, 76%, 67%)
CMYKcmyk(0%, 75.9%, 11.8%, 33.3%)
CIE-LABlab(41.75, 62.11, -30.62)
CIE-LCHlch(41.75, 69.25, 333.76°)
OKLaboklab(52.43% 0.1815 -0.0837)
OKLCHoklch(52.43% 0.2 335.3)
XYZxyz(22.8758, 12.3360, 30.0245)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2996 #29AA3D
analogous
#7E29AA #AA2996 #AA2956
triadic
#AA2996 #96AA29 #2996AA
tetradic
#AA2996 #AA7E29 #29AA3D #2956AA
square
#AA2996 #AA7E29 #29AA3D #2956AA
split-complementary
#AA2996 #56AA29 #29AA7E
monochromatic
#47113F #791D6A #AA2996 #D13FBA #DD71CC

Accessibility & contrast

On white

6.06
#AA2996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2996
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2996#FFFFFF#000000##FFFFFF
##AA29961.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295699
Deuteranopia (green-blind)
#586993
Tritanopia (blue-blind)
#B3345D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2996;
/* rgb */ color: rgb(170, 41, 150);
/* oklch */ color: oklch(52.4% 0.200 335.3);
Tailwind
colors: {
  custom: {
    50: '#c771b5',
    500: '#aa2996',
    950: '#000000',
  },
}
SCSS
$custom: #aa2996;
$custom-light: #c771b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2996",
  "rgb": {
    "r": 170,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 309.302,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5243,
    "c": 0.19987,
    "h": 335.3
  },
  "luminance": 0.12334
}

Semantic roles & 50–950 ramp

primary
#AA2996
secondary
#6BC479
accent
#E45C44
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2996

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

Preview Lab → · Contrast checker → · Palette generator →

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