#AA2E87#AA2E87

#AA2E87 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.184 H 341.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AA2E87
RGBrgb(170, 46, 135)
HSLhsl(317, 57%, 42%)
HSVhsv(317, 73%, 67%)
CMYKcmyk(0%, 72.9%, 20.6%, 33.3%)
CIE-LABlab(41.61, 58.33, -21.69)
CIE-LCHlch(41.61, 62.23, 339.60°)
OKLaboklab(52.1% 0.1748 -0.0583)
OKLCHoklch(52.1% 0.184 341.5)
XYZxyz(21.9284, 12.2515, 24.1269)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E87 #2EAA51
analogous
#8F2EAA #AA2E87 #AA2E49
triadic
#AA2E87 #87AA2E #2E87AA
tetradic
#AA2E87 #AA8F2E #2EAA51 #2E49AA
square
#AA2E87 #AA8F2E #2EAA51 #2E49AA
split-complementary
#AA2E87 #49AA2E #2EAA8F
monochromatic
#4A143B #7A2161 #AA2E87 #CD48A8 #DA78BF

Accessibility & contrast

On white

6.09
#AA2E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AA2E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E87
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E87#FFFFFF#000000##FFFFFF
##AA2E871.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395589
Deuteranopia (green-blind)
#606984
Tritanopia (blue-blind)
#B53057
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2e87;
/* rgb */ color: rgb(170, 46, 135);
/* oklch */ color: oklch(52.1% 0.184 341.5);
Tailwind
colors: {
  custom: {
    50: '#c772aa',
    500: '#aa2e87',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e87;
$custom-light: #c772aa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e87",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 316.935,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.18423,
    "h": 341.5
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#AA2E87
secondary
#71C388
accent
#E17247
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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