#AA2787#AA2787

#AA2787 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.192 H 341.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AA2787
RGBrgb(170, 39, 135)
HSLhsl(316, 63%, 41%)
HSVhsv(316, 77%, 67%)
CMYKcmyk(0%, 77.1%, 20.6%, 33.3%)
CIE-LABlab(40.81, 60.60, -22.93)
CIE-LCHlch(40.81, 64.79, 339.27°)
OKLaboklab(51.53% 0.1817 -0.0617)
OKLCHoklch(51.53% 0.192 341.2)
XYZxyz(21.6770, 11.7486, 24.0431)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2787 #27AA4A
analogous
#8B27AA #AA2787 #AA2745
triadic
#AA2787 #87AA27 #2787AA
tetradic
#AA2787 #AA8B27 #27AA4A #2745AA
square
#AA2787 #AA8B27 #27AA4A #2745AA
split-complementary
#AA2787 #45AA27 #27AA8B
monochromatic
#461038 #781C5F #AA2787 #D23CAA #DE6EC0

Accessibility & contrast

On white

6.27
#AA2787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AA2787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2787
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2787#FFFFFF#000000##FFFFFF
##AA27871.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538A
Deuteranopia (green-blind)
#5D6884
Tritanopia (blue-blind)
#B52A54
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2787;
/* rgb */ color: rgb(170, 39, 135);
/* oklch */ color: oklch(51.5% 0.192 341.2);
Tailwind
colors: {
  custom: {
    50: '#c770aa',
    500: '#aa2787',
    950: '#000000',
  },
}
SCSS
$custom: #aa2787;
$custom-light: #c770aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2787",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 316.031,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51525,
    "c": 0.19189,
    "h": 341.2
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#AA2787
secondary
#69C481
accent
#E66E42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA2787

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

Preview Lab → · Contrast checker → · Palette generator →

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