#AA338A#AA338A

#AA338A is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.180 H 340.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AA338A
RGBrgb(170, 51, 138)
HSLhsl(316, 54%, 43%)
HSVhsv(316, 70%, 67%)
CMYKcmyk(0%, 70%, 18.8%, 33.3%)
CIE-LABlab(42.39, 56.95, -22.33)
CIE-LCHlch(42.39, 61.17, 338.59°)
OKLaboklab(52.71% 0.1698 -0.0601)
OKLCHoklch(52.71% 0.18 340.5)
XYZxyz(22.3494, 12.7508, 25.3239)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA338A #33AA53
analogous
#8E33AA #AA338A #AA334F
triadic
#AA338A #8AAA33 #338AAA
tetradic
#AA338A #AA8E33 #33AA53 #334FAA
square
#AA338A #AA8E33 #33AA53 #334FAA
split-complementary
#AA338A #4FAA33 #33AA8E
monochromatic
#4C173E #7B2564 #AA338A #CA50A9 #D97FC0

Accessibility & contrast

On white

5.92
#AA338A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AA338A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA338A
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA338A#FFFFFF#000000##FFFFFF
##AA338A1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B588C
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#B4365A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa338a;
/* rgb */ color: rgb(170, 51, 138);
/* oklch */ color: oklch(52.7% 0.180 340.5);
Tailwind
colors: {
  custom: {
    50: '#c775ac',
    500: '#aa338a',
    950: '#000000',
  },
}
SCSS
$custom: #aa338a;
$custom-light: #c775ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa338a",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 316.134,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.18014,
    "h": 340.5
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#AA338A
secondary
#77C28B
accent
#DD724B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA338A

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

Preview Lab → · Contrast checker → · Palette generator →

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