#AA2899#AA2899

#AA2899 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.203 H 334.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AA2899
RGBrgb(170, 40, 153)
HSLhsl(308, 62%, 41%)
HSVhsv(308, 76%, 67%)
CMYKcmyk(0%, 76.5%, 10%, 33.3%)
CIE-LABlab(41.79, 62.87, -32.36)
CIE-LCHlch(41.79, 70.71, 332.77°)
OKLaboklab(52.51% 0.1826 -0.0887)
OKLCHoklch(52.51% 0.203 334.1)
XYZxyz(23.0864, 12.3656, 31.3017)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2899 #28AA39
analogous
#7A28AA #AA2899 #AA2858
triadic
#AA2899 #99AA28 #2899AA
tetradic
#AA2899 #AA7A28 #28AA39 #2858AA
square
#AA2899 #AA7A28 #28AA39 #2858AA
split-complementary
#AA2899 #58AA28 #28AA7A
monochromatic
#471140 #781C6C #AA2899 #D23EBE #DD6FCF

Accessibility & contrast

On white

6.05
#AA2899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2899
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2899#FFFFFF#000000##FFFFFF
##AA28991.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#566996
Tritanopia (blue-blind)
#B2355F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2899;
/* rgb */ color: rgb(170, 40, 153);
/* oklch */ color: oklch(52.5% 0.203 334.1);
Tailwind
colors: {
  custom: {
    50: '#c771b7',
    500: '#aa2899',
    950: '#000000',
  },
}
SCSS
$custom: #aa2899;
$custom-light: #c771b7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2899",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 307.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52513,
    "c": 0.203,
    "h": 334.1
  },
  "luminance": 0.12364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2899

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

Preview Lab → · Contrast checker → · Palette generator →

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