#AA2F89#AA2F89

#AA2F89 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.184 H 340.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AA2F89
RGBrgb(170, 47, 137)
HSLhsl(316, 57%, 43%)
HSVhsv(316, 72%, 67%)
CMYKcmyk(0%, 72.4%, 19.4%, 33.3%)
CIE-LABlab(41.83, 58.26, -22.59)
CIE-LCHlch(41.83, 62.48, 338.81°)
OKLaboklab(52.29% 0.174 -0.0608)
OKLCHoklch(52.29% 0.184 340.7)
XYZxyz(22.1101, 12.3874, 24.8886)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F89 #2FAA50
analogous
#8E2FAA #AA2F89 #AA2F4B
triadic
#AA2F89 #89AA2F #2F89AA
tetradic
#AA2F89 #AA8E2F #2FAA50 #2F4BAA
square
#AA2F89 #AA8E2F #2FAA50 #2F4BAA
split-complementary
#AA2F89 #4BAA2F #2FAA8E
monochromatic
#4A143C #7A2262 #AA2F89 #CD49AA #DA79C0

Accessibility & contrast

On white

6.04
#AA2F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AA2F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F89
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F89#FFFFFF#000000##FFFFFF
##AA2F891.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38568C
Deuteranopia (green-blind)
#5F6A86
Tritanopia (blue-blind)
#B43258
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2f89;
/* rgb */ color: rgb(170, 47, 137);
/* oklch */ color: oklch(52.3% 0.184 340.7);
Tailwind
colors: {
  custom: {
    50: '#c773ab',
    500: '#aa2f89',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f89;
$custom-light: #c773ab;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f89",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 316.098,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.18436,
    "h": 340.7
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#AA2F89
secondary
#72C288
accent
#E07148
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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