#AA4097#AA4097

#AA4097 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.7% C 0.172 H 335.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AA4097
RGBrgb(170, 64, 151)
HSLhsl(311, 45%, 46%)
HSVhsv(311, 62%, 67%)
CMYKcmyk(0%, 62.4%, 11.2%, 33.3%)
CIE-LABlab(44.87, 53.65, -26.34)
CIE-LCHlch(44.87, 59.76, 333.85°)
OKLaboklab(54.71% 0.1562 -0.0716)
OKLCHoklch(54.71% 0.172 335.4)
XYZxyz(23.9971, 14.4491, 30.7972)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4097 #40AA53
analogous
#8840AA #AA4097 #AA4062
triadic
#AA4097 #97AA40 #4097AA
tetradic
#AA4097 #AA8840 #40AA53 #4062AA
square
#AA4097 #AA8840 #40AA53 #4062AA
split-complementary
#AA4097 #62AA40 #40AA88
monochromatic
#511F48 #7E2F70 #AA4097 #C463B3 #D58FC9

Accessibility & contrast

On white

5.40
#AA4097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AA4097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4097
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4097#FFFFFF#000000##FFFFFF
##AA40971.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40609A
Deuteranopia (green-blind)
#627094
Tritanopia (blue-blind)
#B24665
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #aa4097;
/* rgb */ color: rgb(170, 64, 151);
/* oklch */ color: oklch(54.7% 0.172 335.4);
Tailwind
colors: {
  custom: {
    50: '#c67cb6',
    500: '#aa4097',
    950: '#000000',
  },
}
SCSS
$custom: #aa4097;
$custom-light: #c67cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4097",
  "rgb": {
    "r": 170,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 310.755,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.1718,
    "h": 335.4
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#AA4097
secondary
#86C090
accent
#D56A53
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #AA4097

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

Preview Lab → · Contrast checker → · Palette generator →

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