#AA2898#AA2898

#AA2898 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.202 H 334.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AA2898
RGBrgb(170, 40, 152)
HSLhsl(308, 62%, 41%)
HSVhsv(308, 76%, 67%)
CMYKcmyk(0%, 76.5%, 10.6%, 33.3%)
CIE-LABlab(41.74, 62.72, -31.83)
CIE-LCHlch(41.74, 70.33, 333.09°)
OKLaboklab(52.46% 0.1826 -0.0872)
OKLCHoklch(52.46% 0.202 334.5)
XYZxyz(23.0041, 12.3327, 30.8686)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2898 #28AA3A
analogous
#7B28AA #AA2898 #AA2857
triadic
#AA2898 #98AA28 #2898AA
tetradic
#AA2898 #AA7B28 #28AA3A #2857AA
square
#AA2898 #AA7B28 #28AA3A #2857AA
split-complementary
#AA2898 #57AA28 #28AA7B
monochromatic
#47113F #781C6C #AA2898 #D23EBD #DD6FCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA2898#FFFFFF#000000##FFFFFF
##AA28981.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)
#26569B
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#B2345E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2898;
/* rgb */ color: rgb(170, 40, 152);
/* oklch */ color: oklch(52.5% 0.202 334.5);
Tailwind
colors: {
  custom: {
    50: '#c771b6',
    500: '#aa2898',
    950: '#000000',
  },
}
SCSS
$custom: #aa2898;
$custom-light: #c771b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2898",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 308.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52459,
    "c": 0.20229,
    "h": 334.5
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#AA2898
secondary
#6AC476
accent
#E55943
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2898

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

Preview Lab → · Contrast checker → · Palette generator →

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