#AA336F#AA336F

#AA336F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.165 H 353.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AA336F
RGBrgb(170, 51, 111)
HSLhsl(330, 54%, 43%)
HSVhsv(330, 70%, 67%)
CMYKcmyk(0%, 70%, 34.7%, 33.3%)
CIE-LABlab(41.32, 53.44, -7.32)
CIE-LCHlch(41.32, 53.94, 352.20°)
OKLaboklab(51.58% 0.1635 -0.0187)
OKLCHoklch(51.58% 0.165 353.5)
XYZxyz(20.6318, 12.0638, 16.2779)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA336F #33AA6E
analogous
#A933AA #AA336F #AA3333
triadic
#AA336F #6FAA33 #336FAA
tetradic
#AA336F #AAA933 #33AA6E #3333AA
square
#AA336F #AAA933 #33AA6E #3333AA
split-complementary
#AA336F #33AA33 #33AAA9
monochromatic
#4C1732 #7B2550 #AA336F #CA508E #D97FAC

Accessibility & contrast

On white

6.15
#AA336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA336F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA336F#FFFFFF#000000##FFFFFF
##AA336F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475471
Deuteranopia (green-blind)
#69696C
Tritanopia (blue-blind)
#B72A4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa336f;
/* rgb */ color: rgb(170, 51, 111);
/* oklch */ color: oklch(51.6% 0.165 353.5);
Tailwind
colors: {
  custom: {
    50: '#c87498',
    500: '#aa336f',
    950: '#000000',
  },
}
SCSS
$custom: #aa336f;
$custom-light: #c87498;
$custom-dark: #000000;
JSON
{
  "hex": "#aa336f",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 329.748,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.16456,
    "h": 353.5
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#AA336F
secondary
#77C29C
accent
#DD934B
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AA336F

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

Preview Lab → · Contrast checker → · Palette generator →

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