#AA2E95#AA2E95

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

Color values

HEX#AA2E95
RGBrgb(170, 46, 149)
HSLhsl(310, 57%, 42%)
HSVhsv(310, 73%, 67%)
CMYKcmyk(0%, 72.9%, 12.4%, 33.3%)
CIE-LABlab(42.26, 60.34, -29.20)
CIE-LCHlch(42.26, 67.04, 334.18°)
OKLaboklab(52.79% 0.1766 -0.0796)
OKLCHoklch(52.79% 0.194 335.7)
XYZxyz(22.9797, 12.6720, 29.6636)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E95 #2EAA43
analogous
#812EAA #AA2E95 #AA2E57
triadic
#AA2E95 #95AA2E #2E95AA
tetradic
#AA2E95 #AA812E #2EAA43 #2E57AA
square
#AA2E95 #AA812E #2EAA43 #2E57AA
split-complementary
#AA2E95 #57AA2E #2EAA81
monochromatic
#4A1441 #7A216B #AA2E95 #CD48B7 #DA78CA

Accessibility & contrast

On white

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

On black

3.53
#AA2E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AA2E95#FFFFFF#000000##FFFFFF
##AA2E951.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5898
Deuteranopia (green-blind)
#5A6A92
Tritanopia (blue-blind)
#B3375E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa2e95;
/* rgb */ color: rgb(170, 46, 149);
/* oklch */ color: oklch(52.8% 0.194 335.7);
Tailwind
colors: {
  custom: {
    50: '#c773b4',
    500: '#aa2e95',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e95;
$custom-light: #c773b4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e95",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 310.161,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.19375,
    "h": 335.7
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#AA2E95
secondary
#71C37F
accent
#E16147
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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