#AA288B#AA288B

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

Color values

HEX#AA288B
RGBrgb(170, 40, 139)
HSLhsl(314, 62%, 41%)
HSVhsv(314, 76%, 67%)
CMYKcmyk(0%, 76.5%, 18.2%, 33.3%)
CIE-LABlab(41.10, 60.84, -24.93)
CIE-LCHlch(41.10, 65.75, 337.72°)
OKLaboklab(51.8% 0.1813 -0.0674)
OKLCHoklch(51.8% 0.193 339.6)
XYZxyz(21.9972, 11.9299, 25.5653)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA288B #28AA47
analogous
#8828AA #AA288B #AA284A
triadic
#AA288B #8BAA28 #288BAA
tetradic
#AA288B #AA8828 #28AA47 #284AAA
square
#AA288B #AA8828 #28AA47 #284AAA
split-complementary
#AA288B #4AAA28 #28AA88
monochromatic
#47113A #781C62 #AA288B #D23EAE #DD6FC3

Accessibility & contrast

On white

6.20
#AA288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AA288B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA288B
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA288B#FFFFFF#000000##FFFFFF
##AA288B1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548E
Deuteranopia (green-blind)
#5C6888
Tritanopia (blue-blind)
#B42D57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa288b;
/* rgb */ color: rgb(170, 40, 139);
/* oklch */ color: oklch(51.8% 0.193 339.6);
Tailwind
colors: {
  custom: {
    50: '#c770ad',
    500: '#aa288b',
    950: '#000000',
  },
}
SCSS
$custom: #aa288b;
$custom-light: #c770ad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa288b",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 314.308,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51795,
    "c": 0.19343,
    "h": 339.6
  },
  "luminance": 0.11928
}

Semantic roles & 50–950 ramp

primary
#AA288B
secondary
#6AC47F
accent
#E56943
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA288B

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

Preview Lab → · Contrast checker → · Palette generator →

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