#AA337B#AA337B

#AA337B is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.0% C 0.171 H 347.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AA337B
RGBrgb(170, 51, 123)
HSLhsl(324, 54%, 43%)
HSVhsv(324, 70%, 67%)
CMYKcmyk(0%, 70%, 27.6%, 33.3%)
CIE-LABlab(41.76, 54.91, -14.09)
CIE-LCHlch(41.76, 56.69, 345.61°)
OKLaboklab(52.05% 0.1667 -0.0371)
OKLCHoklch(52.05% 0.171 347.4)
XYZxyz(21.3375, 12.3460, 19.9944)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA337B #33AA62
analogous
#9D33AA #AA337B #AA3340
triadic
#AA337B #7BAA33 #337BAA
tetradic
#AA337B #AA9D33 #33AA62 #3340AA
square
#AA337B #AA9D33 #33AA62 #3340AA
split-complementary
#AA337B #40AA33 #33AA9D
monochromatic
#4C1737 #7B2559 #AA337B #CA509A #D97FB5

Accessibility & contrast

On white

6.05
#AA337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AA337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA337B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA337B#FFFFFF#000000##FFFFFF
##AA337B1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557D
Deuteranopia (green-blind)
#656A78
Tritanopia (blue-blind)
#B62F52
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa337b;
/* rgb */ color: rgb(170, 51, 123);
/* oklch */ color: oklch(52.0% 0.171 347.4);
Tailwind
colors: {
  custom: {
    50: '#c774a1',
    500: '#aa337b',
    950: '#000000',
  },
}
SCSS
$custom: #aa337b;
$custom-light: #c774a1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa337b",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 323.697,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52049,
    "c": 0.1708,
    "h": 347.4
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#AA337B
secondary
#77C295
accent
#DD844B
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AA337B

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

Preview Lab → · Contrast checker → · Palette generator →

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