#AA2B87#AA2B87

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

Color values

HEX#AA2B87
RGBrgb(170, 43, 135)
HSLhsl(317, 60%, 42%)
HSVhsv(317, 75%, 67%)
CMYKcmyk(0%, 74.7%, 20.6%, 33.3%)
CIE-LABlab(41.26, 59.34, -22.24)
CIE-LCHlch(41.26, 63.37, 339.45°)
OKLaboklab(51.85% 0.1778 -0.0598)
OKLCHoklch(51.85% 0.188 341.4)
XYZxyz(21.8153, 12.0253, 24.0892)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B87 #2BAA4E
analogous
#8D2BAA #AA2B87 #AA2B48
triadic
#AA2B87 #87AA2B #2B87AA
tetradic
#AA2B87 #AA8D2B #2BAA4E #2B48AA
square
#AA2B87 #AA8D2B #2BAA4E #2B48AA
split-complementary
#AA2B87 #48AA2B #2BAA8D
monochromatic
#481239 #791F60 #AA2B87 #CF43A9 #DC74BF

Accessibility & contrast

On white

6.17
#AA2B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA2B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B87
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B87#FFFFFF#000000##FFFFFF
##AA2B871.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36548A
Deuteranopia (green-blind)
#5F6984
Tritanopia (blue-blind)
#B52D56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2b87;
/* rgb */ color: rgb(170, 43, 135);
/* oklch */ color: oklch(51.8% 0.188 341.4);
Tailwind
colors: {
  custom: {
    50: '#c771aa',
    500: '#aa2b87',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b87;
$custom-light: #c771aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b87",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 316.535,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51845,
    "c": 0.18763,
    "h": 341.4
  },
  "luminance": 0.12023
}

Semantic roles & 50–950 ramp

primary
#AA2B87
secondary
#6EC385
accent
#E37045
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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