#AA2197#AA2197

#AA2197 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.208 H 334.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AA2197
RGBrgb(170, 33, 151)
HSLhsl(308, 67%, 40%)
HSVhsv(308, 81%, 67%)
CMYKcmyk(0%, 80.6%, 11.2%, 33.3%)
CIE-LABlab(41.01, 64.52, -32.38)
CIE-LCHlch(41.01, 72.19, 333.35°)
OKLaboklab(51.92% 0.1883 -0.0887)
OKLCHoklch(51.92% 0.208 334.8)
XYZxyz(22.7076, 11.8702, 30.3674)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2197 #21AA34
analogous
#7821AA #AA2197 #AA2153
triadic
#AA2197 #97AA21 #2197AA
tetradic
#AA2197 #AA7821 #21AA34 #2153AA
square
#AA2197 #AA7821 #21AA34 #2153AA
split-complementary
#AA2197 #53AA21 #21AA78
monochromatic
#430D3C #771769 #AA2197 #D731C0 #E164D0

Accessibility & contrast

On white

6.22
#AA2197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AA2197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2197
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2197#FFFFFF#000000##FFFFFF
##AA21971.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549A
Deuteranopia (green-blind)
#556894
Tritanopia (blue-blind)
#B32F5C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2197;
/* rgb */ color: rgb(170, 33, 151);
/* oklch */ color: oklch(51.9% 0.208 334.8);
Tailwind
colors: {
  custom: {
    50: '#c76eb6',
    500: '#aa2197',
    950: '#000000',
  },
}
SCSS
$custom: #aa2197;
$custom-light: #c76eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2197",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 308.321,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.20811,
    "h": 334.8
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#AA2197
secondary
#61C66F
accent
#EA553D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2197

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

Preview Lab → · Contrast checker → · Palette generator →

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