#AA288C#AA288C

#AA288C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.8% C 0.194 H 339.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AA288C
RGBrgb(170, 40, 140)
HSLhsl(314, 62%, 41%)
HSVhsv(314, 76%, 67%)
CMYKcmyk(0%, 76.5%, 17.6%, 33.3%)
CIE-LABlab(41.15, 60.98, -25.47)
CIE-LCHlch(41.15, 66.08, 337.33°)
OKLaboklab(51.84% 0.1814 -0.0689)
OKLCHoklch(51.84% 0.194 339.2)
XYZxyz(22.0706, 11.9593, 25.9519)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA288C #28AA46
analogous
#8728AA #AA288C #AA284B
triadic
#AA288C #8CAA28 #288CAA
tetradic
#AA288C #AA8728 #28AA46 #284BAA
square
#AA288C #AA8728 #28AA46 #284BAA
split-complementary
#AA288C #4BAA28 #28AA87
monochromatic
#47113A #781C63 #AA288C #D23EAF #DD6FC4

Accessibility & contrast

On white

6.19
#AA288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA288C
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA288C#FFFFFF#000000##FFFFFF
##AA288C1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#5C6889
Tritanopia (blue-blind)
#B42E57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa288c;
/* rgb */ color: rgb(170, 40, 140);
/* oklch */ color: oklch(51.8% 0.194 339.2);
Tailwind
colors: {
  custom: {
    50: '#c770ae',
    500: '#aa288c',
    950: '#000000',
  },
}
SCSS
$custom: #aa288c;
$custom-light: #c770ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa288c",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 313.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51844,
    "c": 0.19409,
    "h": 339.2
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA288C

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

Preview Lab → · Contrast checker → · Palette generator →

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