#AA2F92#AA2F92

#AA2F92 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.190 H 337.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AA2F92
RGBrgb(170, 47, 146)
HSLhsl(312, 57%, 43%)
HSVhsv(312, 72%, 67%)
CMYKcmyk(0%, 72.4%, 14.1%, 33.3%)
CIE-LABlab(42.24, 59.55, -27.42)
CIE-LCHlch(42.24, 65.56, 335.28°)
OKLaboklab(52.72% 0.1753 -0.0746)
OKLCHoklch(52.72% 0.19 337)
XYZxyz(22.7828, 12.6565, 28.4316)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F92 #2FAA47
analogous
#842FAA #AA2F92 #AA2F55
triadic
#AA2F92 #92AA2F #2F92AA
tetradic
#AA2F92 #AA842F #2FAA47 #2F55AA
square
#AA2F92 #AA842F #2FAA47 #2F55AA
split-complementary
#AA2F92 #55AA2F #2FAA84
monochromatic
#4A1440 #7A2269 #AA2F92 #CD49B3 #DA79C7

Accessibility & contrast

On white

5.95
#AA2F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AA2F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F92
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F92#FFFFFF#000000##FFFFFF
##AA2F921.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325895
Deuteranopia (green-blind)
#5C6A8F
Tritanopia (blue-blind)
#B3365D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2f92;
/* rgb */ color: rgb(170, 47, 146);
/* oklch */ color: oklch(52.7% 0.190 337.0);
Tailwind
colors: {
  custom: {
    50: '#c773b2',
    500: '#aa2f92',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f92;
$custom-light: #c773b2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f92",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 311.707,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.19047,
    "h": 337
  },
  "luminance": 0.12654
}

Semantic roles & 50–950 ramp

primary
#AA2F92
secondary
#72C282
accent
#E06648
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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