#AA2F91#AA2F91

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

Color values

HEX#AA2F91
RGBrgb(170, 47, 145)
HSLhsl(312, 57%, 43%)
HSVhsv(312, 72%, 67%)
CMYKcmyk(0%, 72.4%, 14.7%, 33.3%)
CIE-LABlab(42.19, 59.41, -26.89)
CIE-LCHlch(42.19, 65.21, 335.65°)
OKLaboklab(52.67% 0.1752 -0.073)
OKLCHoklch(52.67% 0.19 337.4)
XYZxyz(22.7053, 12.6255, 28.0237)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F91 #2FAA48
analogous
#852FAA #AA2F91 #AA2F54
triadic
#AA2F91 #91AA2F #2F91AA
tetradic
#AA2F91 #AA852F #2FAA48 #2F54AA
square
#AA2F91 #AA852F #2FAA48 #2F54AA
split-complementary
#AA2F91 #54AA2F #2FAA85
monochromatic
#4A143F #7A2268 #AA2F91 #CD49B2 #DA79C6

Accessibility & contrast

On white

5.96
#AA2F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AA2F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F91
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F91#FFFFFF#000000##FFFFFF
##AA2F911.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335894
Deuteranopia (green-blind)
#5C6A8E
Tritanopia (blue-blind)
#B3365C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2f91;
/* rgb */ color: rgb(170, 47, 145);
/* oklch */ color: oklch(52.7% 0.190 337.4);
Tailwind
colors: {
  custom: {
    50: '#c773b1',
    500: '#aa2f91',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f91;
$custom-light: #c773b1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f91",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 312.195,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52674,
    "c": 0.18978,
    "h": 337.4
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#AA2F91
secondary
#72C283
accent
#E06748
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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