#AA2F95#AA2F95

#AA2F95 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.9% C 0.193 H 335.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AA2F95
RGBrgb(170, 47, 149)
HSLhsl(310, 57%, 43%)
HSVhsv(310, 72%, 67%)
CMYKcmyk(0%, 72.4%, 12.4%, 33.3%)
CIE-LABlab(42.39, 60.00, -29.01)
CIE-LCHlch(42.39, 66.65, 334.20°)
OKLaboklab(52.88% 0.1756 -0.0791)
OKLCHoklch(52.88% 0.193 335.8)
XYZxyz(23.0192, 12.7510, 29.6768)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F95 #2FAA44
analogous
#822FAA #AA2F95 #AA2F57
triadic
#AA2F95 #95AA2F #2F95AA
tetradic
#AA2F95 #AA822F #2FAA44 #2F57AA
square
#AA2F95 #AA822F #2FAA44 #2F57AA
split-complementary
#AA2F95 #57AA2F #2FAA82
monochromatic
#4A1441 #7A226B #AA2F95 #CD49B6 #DA79CA

Accessibility & contrast

On white

5.92
#AA2F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AA2F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F95
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F95#FFFFFF#000000##FFFFFF
##AA2F951.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#5B6B92
Tritanopia (blue-blind)
#B3385E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2f95;
/* rgb */ color: rgb(170, 47, 149);
/* oklch */ color: oklch(52.9% 0.193 335.8);
Tailwind
colors: {
  custom: {
    50: '#c773b4',
    500: '#aa2f95',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f95;
$custom-light: #c773b4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f95",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 310.244,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.19259,
    "h": 335.8
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#AA2F95
secondary
#72C280
accent
#E06248
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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