#AA2F93#AA2F93

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

Color values

HEX#AA2F93
RGBrgb(170, 47, 147)
HSLhsl(311, 57%, 43%)
HSVhsv(311, 72%, 67%)
CMYKcmyk(0%, 72.4%, 13.5%, 33.3%)
CIE-LABlab(42.29, 59.70, -27.95)
CIE-LCHlch(42.29, 65.92, 334.91°)
OKLaboklab(52.77% 0.1754 -0.0761)
OKLCHoklch(52.77% 0.191 336.6)
XYZxyz(22.8609, 12.6877, 28.8431)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F93 #2FAA46
analogous
#842FAA #AA2F93 #AA2F55
triadic
#AA2F93 #93AA2F #2F93AA
tetradic
#AA2F93 #AA842F #2FAA46 #2F55AA
square
#AA2F93 #AA842F #2FAA46 #2F55AA
split-complementary
#AA2F93 #55AA2F #2FAA84
monochromatic
#4A1440 #7A226A #AA2F93 #CD49B4 #DA79C8

Accessibility & contrast

On white

5.94
#AA2F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2F93
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F93#FFFFFF#000000##FFFFFF
##AA2F931.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325896
Deuteranopia (green-blind)
#5B6A90
Tritanopia (blue-blind)
#B3375D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2f93;
/* rgb */ color: rgb(170, 47, 147);
/* oklch */ color: oklch(52.8% 0.191 336.6);
Tailwind
colors: {
  custom: {
    50: '#c773b3',
    500: '#aa2f93',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f93;
$custom-light: #c773b3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f93",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 311.22,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.19118,
    "h": 336.6
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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