#AA2198#AA2198

#AA2198 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.209 H 334.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AA2198
RGBrgb(170, 33, 152)
HSLhsl(308, 67%, 40%)
HSVhsv(308, 81%, 67%)
CMYKcmyk(0%, 80.6%, 10.6%, 33.3%)
CIE-LABlab(41.06, 64.67, -32.90)
CIE-LCHlch(41.06, 72.56, 333.03°)
OKLaboklab(51.97% 0.1883 -0.0902)
OKLCHoklch(51.97% 0.209 334.4)
XYZxyz(22.7892, 11.9028, 30.7969)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2198 #21AA33
analogous
#7721AA #AA2198 #AA2154
triadic
#AA2198 #98AA21 #2198AA
tetradic
#AA2198 #AA7721 #21AA33 #2154AA
square
#AA2198 #AA7721 #21AA33 #2154AA
split-complementary
#AA2198 #54AA21 #21AA77
monochromatic
#430D3C #77176A #AA2198 #D731C1 #E164D1

Accessibility & contrast

On white

6.21
#AA2198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AA2198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2198
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2198#FFFFFF#000000##FFFFFF
##AA21981.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549B
Deuteranopia (green-blind)
#546895
Tritanopia (blue-blind)
#B22F5C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2198;
/* rgb */ color: rgb(170, 33, 152);
/* oklch */ color: oklch(52.0% 0.209 334.4);
Tailwind
colors: {
  custom: {
    50: '#c76eb7',
    500: '#aa2198',
    950: '#000000',
  },
}
SCSS
$custom: #aa2198;
$custom-light: #c76eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2198",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 307.883,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.2088,
    "h": 334.4
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#AA2198
secondary
#61C66E
accent
#EA543D
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2198

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

Preview Lab → · Contrast checker → · Palette generator →

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