#AA288A#AA288A

#AA288A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.193 H 340.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AA288A
RGBrgb(170, 40, 138)
HSLhsl(315, 62%, 41%)
HSVhsv(315, 76%, 67%)
CMYKcmyk(0%, 76.5%, 18.8%, 33.3%)
CIE-LABlab(41.06, 60.70, -24.39)
CIE-LCHlch(41.06, 65.42, 338.11°)
OKLaboklab(51.75% 0.1812 -0.0659)
OKLCHoklch(51.75% 0.193 340)
XYZxyz(21.9244, 11.9008, 25.1823)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA288A #28AA48
analogous
#8928AA #AA288A #AA2849
triadic
#AA288A #8AAA28 #288AAA
tetradic
#AA288A #AA8928 #28AA48 #2849AA
square
#AA288A #AA8928 #28AA48 #2849AA
split-complementary
#AA288A #49AA28 #28AA89
monochromatic
#47113A #781C62 #AA288A #D23EAD #DD6FC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA288A#FFFFFF#000000##FFFFFF
##AA288A1.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)
#32548D
Deuteranopia (green-blind)
#5C6887
Tritanopia (blue-blind)
#B42D56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa288a;
/* rgb */ color: rgb(170, 40, 138);
/* oklch */ color: oklch(51.7% 0.193 340.0);
Tailwind
colors: {
  custom: {
    50: '#c770ac',
    500: '#aa288a',
    950: '#000000',
  },
}
SCSS
$custom: #aa288a;
$custom-light: #c770ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa288a",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 314.769,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.19278,
    "h": 340
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#AA288A
secondary
#6AC480
accent
#E56B43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA288A

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

Preview Lab → · Contrast checker → · Palette generator →

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