#AA287F#AA287F

#AA287F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.186 H 344.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AA287F
RGBrgb(170, 40, 127)
HSLhsl(320, 62%, 41%)
HSVhsv(320, 76%, 67%)
CMYKcmyk(0%, 76.5%, 25.3%, 33.3%)
CIE-LABlab(40.57, 59.24, -18.38)
CIE-LCHlch(40.57, 62.02, 342.76°)
OKLaboklab(51.23% 0.1794 -0.049)
OKLCHoklch(51.23% 0.186 344.7)
XYZxyz(21.1680, 11.5982, 21.1985)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA287F #28AA53
analogous
#9428AA #AA287F #AA283E
triadic
#AA287F #7FAA28 #287FAA
tetradic
#AA287F #AA9428 #28AA53 #283EAA
square
#AA287F #AA9428 #28AA53 #283EAA
split-complementary
#AA287F #3EAA28 #28AA94
monochromatic
#471135 #781C5A #AA287F #D23EA1 #DD6FB9

Accessibility & contrast

On white

6.33
#AA287F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AA287F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA287F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA287F#FFFFFF#000000##FFFFFF
##AA287F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385281
Deuteranopia (green-blind)
#60677C
Tritanopia (blue-blind)
#B62650
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa287f;
/* rgb */ color: rgb(170, 40, 127);
/* oklch */ color: oklch(51.2% 0.186 344.7);
Tailwind
colors: {
  custom: {
    50: '#c770a4',
    500: '#aa287f',
    950: '#000000',
  },
}
SCSS
$custom: #aa287f;
$custom-light: #c770a4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa287f",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 319.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.18594,
    "h": 344.7
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#AA287F
secondary
#6AC488
accent
#E57843
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA287F

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

Preview Lab → · Contrast checker → · Palette generator →

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