#AA2791#AA2791

#AA2791 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 52.0% C 0.198 H 337.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AA2791
RGBrgb(170, 39, 145)
HSLhsl(311, 63%, 41%)
HSVhsv(311, 77%, 67%)
CMYKcmyk(0%, 77.1%, 14.7%, 33.3%)
CIE-LABlab(41.29, 61.99, -28.30)
CIE-LCHlch(41.29, 68.15, 335.46°)
OKLaboklab(52.02% 0.1829 -0.077)
OKLCHoklch(52.02% 0.198 337.2)
XYZxyz(22.4144, 12.0435, 27.9267)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2791 #27AA40
analogous
#8127AA #AA2791 #AA2750
triadic
#AA2791 #91AA27 #2791AA
tetradic
#AA2791 #AA8127 #27AA40 #2750AA
square
#AA2791 #AA8127 #27AA40 #2750AA
split-complementary
#AA2791 #50AA27 #27AA81
monochromatic
#46103C #781C67 #AA2791 #D23CB6 #DE6EC8

Accessibility & contrast

On white

6.16
#AA2791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AA2791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2791
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2791#FFFFFF#000000##FFFFFF
##AA27911.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5594
Deuteranopia (green-blind)
#59688E
Tritanopia (blue-blind)
#B3305A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2791;
/* rgb */ color: rgb(170, 39, 145);
/* oklch */ color: oklch(52.0% 0.198 337.2);
Tailwind
colors: {
  custom: {
    50: '#c770b1',
    500: '#aa2791',
    950: '#000000',
  },
}
SCSS
$custom: #aa2791;
$custom-light: #c770b1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2791",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 311.45,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.19845,
    "h": 337.2
  },
  "luminance": 0.12041
}

Semantic roles & 50–950 ramp

primary
#AA2791
secondary
#69C47A
accent
#E66142
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2791

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

Preview Lab → · Contrast checker → · Palette generator →

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