#AA2E91#AA2E91

#AA2E91 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.6% C 0.191 H 337.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AA2E91
RGBrgb(170, 46, 145)
HSLhsl(312, 57%, 42%)
HSVhsv(312, 73%, 67%)
CMYKcmyk(0%, 72.9%, 14.7%, 33.3%)
CIE-LABlab(42.07, 59.75, -27.08)
CIE-LCHlch(42.07, 65.60, 335.62°)
OKLaboklab(52.59% 0.1762 -0.0736)
OKLCHoklch(52.59% 0.191 337.3)
XYZxyz(22.6658, 12.5465, 28.0106)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E91 #2EAA47
analogous
#852EAA #AA2E91 #AA2E53
triadic
#AA2E91 #91AA2E #2E91AA
tetradic
#AA2E91 #AA852E #2EAA47 #2E53AA
square
#AA2E91 #AA852E #2EAA47 #2E53AA
split-complementary
#AA2E91 #53AA2E #2EAA85
monochromatic
#4A143F #7A2168 #AA2E91 #CD48B2 #DA78C7

Accessibility & contrast

On white

5.98
#AA2E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA2E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E91
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E91#FFFFFF#000000##FFFFFF
##AA2E911.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325794
Deuteranopia (green-blind)
#5C6A8E
Tritanopia (blue-blind)
#B3355C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2e91;
/* rgb */ color: rgb(170, 46, 145);
/* oklch */ color: oklch(52.6% 0.191 337.3);
Tailwind
colors: {
  custom: {
    50: '#c773b1',
    500: '#aa2e91',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e91;
$custom-light: #c773b1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e91",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 312.097,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.19093,
    "h": 337.3
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#AA2E91
secondary
#71C382
accent
#E16647
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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