#AA2887#AA2887

#AA2887 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.191 H 341.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AA2887
RGBrgb(170, 40, 135)
HSLhsl(316, 62%, 41%)
HSVhsv(316, 76%, 67%)
CMYKcmyk(0%, 76.5%, 20.6%, 33.3%)
CIE-LABlab(40.92, 60.29, -22.76)
CIE-LCHlch(40.92, 64.45, 339.32°)
OKLaboklab(51.6% 0.1807 -0.0613)
OKLCHoklch(51.6% 0.191 341.3)
XYZxyz(21.7102, 11.8151, 24.0542)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2887 #28AA4B
analogous
#8C28AA #AA2887 #AA2846
triadic
#AA2887 #87AA28 #2887AA
tetradic
#AA2887 #AA8C28 #28AA4B #2846AA
square
#AA2887 #AA8C28 #28AA4B #2846AA
split-complementary
#AA2887 #46AA28 #28AA8C
monochromatic
#471138 #781C60 #AA2887 #D23EAA #DD6FC0

Accessibility & contrast

On white

6.25
#AA2887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AA2887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2887
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2887#FFFFFF#000000##FFFFFF
##AA28871.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa2887;
/* rgb */ color: rgb(170, 40, 135);
/* oklch */ color: oklch(51.6% 0.191 341.3);
Tailwind
colors: {
  custom: {
    50: '#c770aa',
    500: '#aa2887',
    950: '#000000',
  },
}
SCSS
$custom: #aa2887;
$custom-light: #c770aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2887",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 316.154,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.19085,
    "h": 341.3
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#AA2887
secondary
#6AC482
accent
#E56E43
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA2887

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

Preview Lab → · Contrast checker → · Palette generator →

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