#AA2F7F#AA2F7F

#AA2F7F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.178 H 345.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA2F7F
RGBrgb(170, 47, 127)
HSLhsl(321, 57%, 43%)
HSVhsv(321, 72%, 67%)
CMYKcmyk(0%, 72.4%, 25.3%, 33.3%)
CIE-LABlab(41.40, 56.90, -17.11)
CIE-LCHlch(41.40, 59.42, 343.26°)
OKLaboklab(51.84% 0.1722 -0.0455)
OKLCHoklch(51.84% 0.178 345.2)
XYZxyz(21.4257, 12.1136, 21.2844)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F7F #2FAA5A
analogous
#982FAA #AA2F7F #AA2F41
triadic
#AA2F7F #7FAA2F #2F7FAA
tetradic
#AA2F7F #AA982F #2FAA5A #2F41AA
square
#AA2F7F #AA982F #2FAA5A #2F41AA
split-complementary
#AA2F7F #41AA2F #2FAA98
monochromatic
#4A1437 #7A225B #AA2F7F #CD499F #DA79B8

Accessibility & contrast

On white

6.14
#AA2F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA2F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F7F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F7F#FFFFFF#000000##FFFFFF
##AA2F7F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5481
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#B52D53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2f7f;
/* rgb */ color: rgb(170, 47, 127);
/* oklch */ color: oklch(51.8% 0.178 345.2);
Tailwind
colors: {
  custom: {
    50: '#c773a4',
    500: '#aa2f7f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f7f;
$custom-light: #c773a4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f7f",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 320.976,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.17807,
    "h": 345.2
  },
  "luminance": 0.12111
}

Semantic roles & 50–950 ramp

primary
#AA2F7F
secondary
#72C28E
accent
#E07D48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA2F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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