#AA337E#AA337E

#AA337E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.173 H 346.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AA337E
RGBrgb(170, 51, 126)
HSLhsl(322, 54%, 43%)
HSVhsv(322, 70%, 67%)
CMYKcmyk(0%, 70%, 25.9%, 33.3%)
CIE-LABlab(41.88, 55.30, -15.76)
CIE-LCHlch(41.88, 57.51, 344.10°)
OKLaboklab(52.17% 0.1674 -0.0417)
OKLCHoklch(52.17% 0.173 346)
XYZxyz(21.5282, 12.4223, 20.9986)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA337E #33AA5F
analogous
#9A33AA #AA337E #AA3342
triadic
#AA337E #7EAA33 #337EAA
tetradic
#AA337E #AA9A33 #33AA5F #3342AA
square
#AA337E #AA9A33 #33AA5F #3342AA
split-complementary
#AA337E #42AA33 #33AA9A
monochromatic
#4C1738 #7B255B #AA337E #CA509D #D97FB7

Accessibility & contrast

On white

6.03
#AA337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AA337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA337E
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA337E#FFFFFF#000000##FFFFFF
##AA337E1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#B53054
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa337e;
/* rgb */ color: rgb(170, 51, 126);
/* oklch */ color: oklch(52.2% 0.173 346.0);
Tailwind
colors: {
  custom: {
    50: '#c774a3',
    500: '#aa337e',
    950: '#000000',
  },
}
SCSS
$custom: #aa337e;
$custom-light: #c774a3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa337e",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 322.185,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.17254,
    "h": 346
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#AA337E
secondary
#77C293
accent
#DD814B
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA337E

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

Preview Lab → · Contrast checker → · Palette generator →

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