#AA2F71#AA2F71

#AA2F71 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.170 H 351.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AA2F71
RGBrgb(170, 47, 113)
HSLhsl(328, 57%, 43%)
HSVhsv(328, 72%, 67%)
CMYKcmyk(0%, 72.4%, 33.5%, 33.3%)
CIE-LABlab(40.85, 55.16, -9.26)
CIE-LCHlch(40.85, 55.93, 350.47°)
OKLaboklab(51.26% 0.1687 -0.0239)
OKLCHoklch(51.26% 0.17 351.9)
XYZxyz(20.5759, 11.7737, 16.8086)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F71 #2FAA68
analogous
#A62FAA #AA2F71 #AA2F33
triadic
#AA2F71 #71AA2F #2F71AA
tetradic
#AA2F71 #AAA62F #2FAA68 #2F33AA
square
#AA2F71 #AAA62F #2FAA68 #2F33AA
split-complementary
#AA2F71 #33AA2F #2FAAA6
monochromatic
#4A1431 #7A2251 #AA2F71 #CD4990 #DA79AD

Accessibility & contrast

On white

6.26
#AA2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AA2F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F71
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F71#FFFFFF#000000##FFFFFF
##AA2F711.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445273
Deuteranopia (green-blind)
#67686E
Tritanopia (blue-blind)
#B7264C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2f71;
/* rgb */ color: rgb(170, 47, 113);
/* oklch */ color: oklch(51.3% 0.170 351.9);
Tailwind
colors: {
  custom: {
    50: '#c87299',
    500: '#aa2f71',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f71;
$custom-light: #c87299;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f71",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 327.805,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51261,
    "c": 0.17043,
    "h": 351.9
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

primary
#AA2F71
secondary
#72C297
accent
#E08E48
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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