#AA2F94#AA2F94

#AA2F94 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.192 H 336.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AA2F94
RGBrgb(170, 47, 148)
HSLhsl(311, 57%, 43%)
HSVhsv(311, 72%, 67%)
CMYKcmyk(0%, 72.4%, 12.9%, 33.3%)
CIE-LABlab(42.34, 59.85, -28.48)
CIE-LCHlch(42.34, 66.28, 334.55°)
OKLaboklab(52.83% 0.1755 -0.0776)
OKLCHoklch(52.83% 0.192 336.1)
XYZxyz(22.9397, 12.7193, 29.2581)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F94 #2FAA45
analogous
#832FAA #AA2F94 #AA2F56
triadic
#AA2F94 #94AA2F #2F94AA
tetradic
#AA2F94 #AA832F #2FAA45 #2F56AA
square
#AA2F94 #AA832F #2FAA45 #2F56AA
split-complementary
#AA2F94 #56AA2F #2FAA83
monochromatic
#4A1441 #7A226A #AA2F94 #CD49B5 #DA79C9

Accessibility & contrast

On white

5.93
#AA2F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AA2F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F94
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F94#FFFFFF#000000##FFFFFF
##AA2F941.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315897
Deuteranopia (green-blind)
#5B6B91
Tritanopia (blue-blind)
#B3375E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2f94;
/* rgb */ color: rgb(170, 47, 148);
/* oklch */ color: oklch(52.8% 0.192 336.1);
Tailwind
colors: {
  custom: {
    50: '#c773b3',
    500: '#aa2f94',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f94;
$custom-light: #c773b3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f94",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 310.732,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52825,
    "c": 0.19189,
    "h": 336.1
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#AA2F94
secondary
#72C281
accent
#E06348
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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