#AA4791#AA4791

#AA4791 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.3% C 0.157 H 338.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AA4791
RGBrgb(170, 71, 145)
HSLhsl(315, 41%, 47%)
HSVhsv(315, 58%, 67%)
CMYKcmyk(0%, 58.2%, 14.7%, 33.3%)
CIE-LABlab(45.77, 49.53, -21.34)
CIE-LCHlch(45.77, 53.93, 336.69°)
OKLaboklab(55.29% 0.1457 -0.0575)
OKLCHoklch(55.29% 0.157 338.5)
XYZxyz(23.9420, 15.0988, 28.4359)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4791 #47AA60
analogous
#9247AA #AA4791 #AA475F
triadic
#AA4791 #91AA47 #4791AA
tetradic
#AA4791 #AA9247 #47AA60 #475FAA
square
#AA4791 #AA9247 #47AA60 #475FAA
split-complementary
#AA4791 #5FAA47 #47AA92
monochromatic
#542347 #7F356C #AA4791 #C26CAC #D498C5

Accessibility & contrast

On white

5.22
#AA4791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AA4791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4791
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4791#FFFFFF#000000##FFFFFF
##AA47911.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6393
Deuteranopia (green-blind)
#68728E
Tritanopia (blue-blind)
#B34A66
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa4791;
/* rgb */ color: rgb(170, 71, 145);
/* oklch */ color: oklch(55.3% 0.157 338.5);
Tailwind
colors: {
  custom: {
    50: '#c67fb1',
    500: '#aa4791',
    950: '#000000',
  },
}
SCSS
$custom: #aa4791;
$custom-light: #c67fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4791",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 145
  },
  "hsl": {
    "h": 315.152,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55287,
    "c": 0.15666,
    "h": 338.5
  },
  "luminance": 0.15097
}

Semantic roles & 50–950 ramp

primary
#AA4791
secondary
#8DC09A
accent
#D17657
background
#FCF8FA
surface
#F8EFF5
border
#D1CACF
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AA4791

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

Preview Lab → · Contrast checker → · Palette generator →

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