#AA336C#AA336C

#AA336C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.163 H 355.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AA336C
RGBrgb(170, 51, 108)
HSLhsl(331, 54%, 43%)
HSVhsv(331, 70%, 67%)
CMYKcmyk(0%, 70%, 36.5%, 33.3%)
CIE-LABlab(41.21, 53.09, -5.61)
CIE-LCHlch(41.21, 53.39, 353.97°)
OKLaboklab(51.47% 0.1626 -0.0141)
OKLCHoklch(51.47% 0.163 355)
XYZxyz(20.4694, 11.9988, 15.4225)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA336C #33AA71
analogous
#AA33A7 #AA336C #AA3633
triadic
#AA336C #6CAA33 #336CAA
tetradic
#AA336C #A7AA33 #33AA71 #3633AA
square
#AA336C #A7AA33 #33AA71 #3633AA
split-complementary
#AA336C #33AA36 #33A7AA
monochromatic
#4C1730 #7B254E #AA336C #CA508B #D97FAA

Accessibility & contrast

On white

6.18
#AA336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA336C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA336C#FFFFFF#000000##FFFFFF
##AA336C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536E
Deuteranopia (green-blind)
#696969
Tritanopia (blue-blind)
#B7284B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa336c;
/* rgb */ color: rgb(170, 51, 108);
/* oklch */ color: oklch(51.5% 0.163 355.0);
Tailwind
colors: {
  custom: {
    50: '#c87496',
    500: '#aa336c',
    950: '#000000',
  },
}
SCSS
$custom: #aa336c;
$custom-light: #c87496;
$custom-dark: #000000;
JSON
{
  "hex": "#aa336c",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 331.261,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51468,
    "c": 0.16319,
    "h": 355
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#AA336C
secondary
#77C29E
accent
#DD974B
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AA336C

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

Preview Lab → · Contrast checker → · Palette generator →

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