#AA2F72#AA2F72

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

Color values

HEX#AA2F72
RGBrgb(170, 47, 114)
HSLhsl(327, 57%, 43%)
HSVhsv(327, 72%, 67%)
CMYKcmyk(0%, 72.4%, 32.9%, 33.3%)
CIE-LABlab(40.89, 55.28, -9.83)
CIE-LCHlch(40.89, 56.15, 349.92°)
OKLaboklab(51.3% 0.169 -0.0255)
OKLCHoklch(51.3% 0.171 351.4)
XYZxyz(20.6325, 11.7964, 17.1067)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F72 #2FAA67
analogous
#A42FAA #AA2F72 #AA2F35
triadic
#AA2F72 #72AA2F #2F72AA
tetradic
#AA2F72 #AAA42F #2FAA67 #2F35AA
square
#AA2F72 #AAA42F #2FAA67 #2F35AA
split-complementary
#AA2F72 #35AA2F #2FAAA4
monochromatic
#4A1432 #7A2252 #AA2F72 #CD4991 #DA79AE

Accessibility & contrast

On white

6.25
#AA2F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AA2F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F72
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F72#FFFFFF#000000##FFFFFF
##AA2F721.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435274
Deuteranopia (green-blind)
#66686F
Tritanopia (blue-blind)
#B7264C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2f72;
/* rgb */ color: rgb(170, 47, 114);
/* oklch */ color: oklch(51.3% 0.171 351.4);
Tailwind
colors: {
  custom: {
    50: '#c8729a',
    500: '#aa2f72',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f72;
$custom-light: #c8729a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f72",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 327.317,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.513,
    "c": 0.17093,
    "h": 351.4
  },
  "luminance": 0.11794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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