#AA2F7C#AA2F7C

#AA2F7C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.176 H 346.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AA2F7C
RGBrgb(170, 47, 124)
HSLhsl(322, 57%, 43%)
HSVhsv(322, 72%, 67%)
CMYKcmyk(0%, 72.4%, 27.1%, 33.3%)
CIE-LABlab(41.27, 56.51, -15.45)
CIE-LCHlch(41.27, 58.59, 344.71°)
OKLaboklab(51.71% 0.1715 -0.0409)
OKLCHoklch(51.71% 0.176 346.6)
XYZxyz(21.2331, 12.0366, 20.2700)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F7C #2FAA5D
analogous
#9A2FAA #AA2F7C #AA2F3F
triadic
#AA2F7C #7CAA2F #2F7CAA
tetradic
#AA2F7C #AA9A2F #2FAA5D #2F3FAA
square
#AA2F7C #AA9A2F #2FAA5D #2F3FAA
split-complementary
#AA2F7C #3FAA2F #2FAA9A
monochromatic
#4A1436 #7A2259 #AA2F7C #CD499C #DA79B6

Accessibility & contrast

On white

6.16
#AA2F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AA2F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F7C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F7C#FFFFFF#000000##FFFFFF
##AA2F7C1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547E
Deuteranopia (green-blind)
#646979
Tritanopia (blue-blind)
#B62C51
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2f7c;
/* rgb */ color: rgb(170, 47, 124);
/* oklch */ color: oklch(51.7% 0.176 346.6);
Tailwind
colors: {
  custom: {
    50: '#c772a2',
    500: '#aa2f7c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f7c;
$custom-light: #c772a2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f7c",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 322.439,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.17631,
    "h": 346.6
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#AA2F7C
secondary
#72C290
accent
#E08148
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AA2F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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