#AA2F7D#AA2F7D

#AA2F7D is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.177 H 346.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AA2F7D
RGBrgb(170, 47, 125)
HSLhsl(322, 57%, 43%)
HSVhsv(322, 72%, 67%)
CMYKcmyk(0%, 72.4%, 26.5%, 33.3%)
CIE-LABlab(41.31, 56.64, -16.01)
CIE-LCHlch(41.31, 58.86, 344.22°)
OKLaboklab(51.75% 0.1717 -0.0424)
OKLCHoklch(51.75% 0.177 346.1)
XYZxyz(21.2967, 12.0620, 20.6047)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F7D #2FAA5C
analogous
#992FAA #AA2F7D #AA2F40
triadic
#AA2F7D #7DAA2F #2F7DAA
tetradic
#AA2F7D #AA992F #2FAA5C #2F40AA
square
#AA2F7D #AA992F #2FAA5C #2F40AA
split-complementary
#AA2F7D #40AA2F #2FAA99
monochromatic
#4A1436 #7A225A #AA2F7D #CD499D #DA79B7

Accessibility & contrast

On white

6.15
#AA2F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2F7D
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F7D#FFFFFF#000000##FFFFFF
##AA2F7D1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F547F
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#B62C52
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2f7d;
/* rgb */ color: rgb(170, 47, 125);
/* oklch */ color: oklch(51.7% 0.177 346.1);
Tailwind
colors: {
  custom: {
    50: '#c772a2',
    500: '#aa2f7d',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f7d;
$custom-light: #c772a2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f7d",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 321.951,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51749,
    "c": 0.17689,
    "h": 346.1
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#AA2F7D
secondary
#72C290
accent
#E07F48
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA2F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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