#AA2498#AA2498

#AA2498 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.206 H 334.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AA2498
RGBrgb(170, 36, 152)
HSLhsl(308, 65%, 40%)
HSVhsv(308, 79%, 67%)
CMYKcmyk(0%, 78.8%, 10.6%, 33.3%)
CIE-LABlab(41.34, 63.87, -32.47)
CIE-LCHlch(41.34, 71.65, 333.06°)
OKLaboklab(52.17% 0.186 -0.0889)
OKLCHoklch(52.17% 0.206 334.4)
XYZxyz(22.8762, 12.0769, 30.8259)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2498 #24AA36
analogous
#7924AA #AA2498 #AA2455
triadic
#AA2498 #98AA24 #2498AA
tetradic
#AA2498 #AA7924 #24AA36 #2455AA
square
#AA2498 #AA7924 #24AA36 #2455AA
split-complementary
#AA2498 #55AA24 #24AA79
monochromatic
#450F3E #77196B #AA2498 #D537BF #DF69CF

Accessibility & contrast

On white

6.15
#AA2498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA2498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2498
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2498#FFFFFF#000000##FFFFFF
##AA24981.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#B2315D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2498;
/* rgb */ color: rgb(170, 36, 152);
/* oklch */ color: oklch(52.2% 0.206 334.4);
Tailwind
colors: {
  custom: {
    50: '#c76fb6',
    500: '#aa2498',
    950: '#000000',
  },
}
SCSS
$custom: #aa2498;
$custom-light: #c76fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2498",
  "rgb": {
    "r": 170,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 308.06,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52171,
    "c": 0.20614,
    "h": 334.4
  },
  "luminance": 0.12075
}

Semantic roles & 50–950 ramp

primary
#AA2498
secondary
#65C572
accent
#E85640
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2498

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

Preview Lab → · Contrast checker → · Palette generator →

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