#AA2F86#AA2F86

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

Color values

HEX#AA2F86
RGBrgb(170, 47, 134)
HSLhsl(318, 57%, 43%)
HSVhsv(318, 72%, 67%)
CMYKcmyk(0%, 72.4%, 21.2%, 33.3%)
CIE-LABlab(41.69, 57.84, -20.96)
CIE-LCHlch(41.69, 61.52, 340.08°)
OKLaboklab(52.15% 0.1735 -0.0562)
OKLCHoklch(52.15% 0.182 342)
XYZxyz(21.8979, 12.3025, 23.7710)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F86 #2FAA53
analogous
#902FAA #AA2F86 #AA2F48
triadic
#AA2F86 #86AA2F #2F86AA
tetradic
#AA2F86 #AA902F #2FAA53 #2F48AA
square
#AA2F86 #AA902F #2FAA53 #2F48AA
split-complementary
#AA2F86 #48AA2F #2FAA90
monochromatic
#4A143A #7A2260 #AA2F86 #CD49A6 #DA79BE

Accessibility & contrast

On white

6.07
#AA2F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AA2F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F86
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F86#FFFFFF#000000##FFFFFF
##AA2F861.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5688
Deuteranopia (green-blind)
#606A83
Tritanopia (blue-blind)
#B53056
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2f86;
/* rgb */ color: rgb(170, 47, 134);
/* oklch */ color: oklch(52.1% 0.182 342.0);
Tailwind
colors: {
  custom: {
    50: '#c773a9',
    500: '#aa2f86',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f86;
$custom-light: #c773a9;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f86",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 317.561,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.18241,
    "h": 342
  },
  "luminance": 0.123
}

Semantic roles & 50–950 ramp

primary
#AA2F86
secondary
#72C28A
accent
#E07448
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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