#AA2F85#AA2F85

#AA2F85 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.182 H 342.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AA2F85
RGBrgb(170, 47, 133)
HSLhsl(318, 57%, 43%)
HSVhsv(318, 72%, 67%)
CMYKcmyk(0%, 72.4%, 21.8%, 33.3%)
CIE-LABlab(41.65, 57.71, -20.41)
CIE-LCHlch(41.65, 61.21, 340.52°)
OKLaboklab(52.1% 0.1733 -0.0547)
OKLCHoklch(52.1% 0.182 342.5)
XYZxyz(21.8285, 12.2747, 23.4054)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F85 #2FAA54
analogous
#922FAA #AA2F85 #AA2F47
triadic
#AA2F85 #85AA2F #2F85AA
tetradic
#AA2F85 #AA922F #2FAA54 #2F47AA
square
#AA2F85 #AA922F #2FAA54 #2F47AA
split-complementary
#AA2F85 #47AA2F #2FAA92
monochromatic
#4A143A #7A225F #AA2F85 #CD49A5 #DA79BD

Accessibility & contrast

On white

6.08
#AA2F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2F85
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F85#FFFFFF#000000##FFFFFF
##AA2F851.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5587
Deuteranopia (green-blind)
#616A82
Tritanopia (blue-blind)
#B53056
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2f85;
/* rgb */ color: rgb(170, 47, 133);
/* oklch */ color: oklch(52.1% 0.182 342.5);
Tailwind
colors: {
  custom: {
    50: '#c773a8',
    500: '#aa2f85',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f85;
$custom-light: #c773a8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f85",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 318.049,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.18177,
    "h": 342.5
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

primary
#AA2F85
secondary
#72C28A
accent
#E07648
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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