#AA2B98#AA2B98

#AA2B98 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.7% C 0.199 H 334.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AA2B98
RGBrgb(170, 43, 152)
HSLhsl(309, 60%, 42%)
HSVhsv(309, 75%, 67%)
CMYKcmyk(0%, 74.7%, 10.6%, 33.3%)
CIE-LABlab(42.07, 61.79, -31.32)
CIE-LCHlch(42.07, 69.27, 333.12°)
OKLaboklab(52.69% 0.1798 -0.0857)
OKLCHoklch(52.69% 0.199 334.5)
XYZxyz(23.1092, 12.5428, 30.9036)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B98 #2BAA3D
analogous
#7D2BAA #AA2B98 #AA2B59
triadic
#AA2B98 #98AA2B #2B98AA
tetradic
#AA2B98 #AA7D2B #2BAA3D #2B59AA
square
#AA2B98 #AA7D2B #2BAA3D #2B59AA
split-complementary
#AA2B98 #59AA2B #2BAA7D
monochromatic
#481241 #791F6C #AA2B98 #CF43BB #DC74CD

Accessibility & contrast

On white

5.99
#AA2B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA2B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B98
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B98#FFFFFF#000000##FFFFFF
##AA2B981.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#586A95
Tritanopia (blue-blind)
#B2365F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2b98;
/* rgb */ color: rgb(170, 43, 152);
/* oklch */ color: oklch(52.7% 0.199 334.5);
Tailwind
colors: {
  custom: {
    50: '#c772b6',
    500: '#aa2b98',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b98;
$custom-light: #c772b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b98",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 308.504,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.19918,
    "h": 334.5
  },
  "luminance": 0.12541
}

Semantic roles & 50–950 ramp

primary
#AA2B98
secondary
#6EC37A
accent
#E35B45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2B98

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

Preview Lab → · Contrast checker → · Palette generator →

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