#AA2E94#AA2E94

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

Color values

HEX#AA2E94
RGBrgb(170, 46, 148)
HSLhsl(311, 57%, 42%)
HSVhsv(311, 73%, 67%)
CMYKcmyk(0%, 72.9%, 12.9%, 33.3%)
CIE-LABlab(42.22, 60.20, -28.67)
CIE-LCHlch(42.22, 66.67, 334.53°)
OKLaboklab(52.74% 0.1765 -0.0781)
OKLCHoklch(52.74% 0.193 336.1)
XYZxyz(22.9002, 12.6402, 29.2450)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E94 #2EAA44
analogous
#822EAA #AA2E94 #AA2E56
triadic
#AA2E94 #94AA2E #2E94AA
tetradic
#AA2E94 #AA822E #2EAA44 #2E56AA
square
#AA2E94 #AA822E #2EAA44 #2E56AA
split-complementary
#AA2E94 #56AA2E #2EAA82
monochromatic
#4A1440 #7A216A #AA2E94 #CD48B6 #DA78C9

Accessibility & contrast

On white

5.95
#AA2E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2E94
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E94#FFFFFF#000000##FFFFFF
##AA2E941.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa2e94;
/* rgb */ color: rgb(170, 46, 148);
/* oklch */ color: oklch(52.7% 0.193 336.1);
Tailwind
colors: {
  custom: {
    50: '#c773b3',
    500: '#aa2e94',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e94;
$custom-light: #c773b3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e94",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 310.645,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52737,
    "c": 0.19303,
    "h": 336.1
  },
  "luminance": 0.12638
}

Semantic roles & 50–950 ramp

primary
#AA2E94
secondary
#71C380
accent
#E16247
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA2E94

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

Preview Lab → · Contrast checker → · Palette generator →

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