#AA337F#AA337F

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

Color values

HEX#AA337F
RGBrgb(170, 51, 127)
HSLhsl(322, 54%, 43%)
HSVhsv(322, 70%, 67%)
CMYKcmyk(0%, 70%, 25.3%, 33.3%)
CIE-LABlab(41.92, 55.44, -16.31)
CIE-LCHlch(41.92, 57.79, 343.60°)
OKLaboklab(52.22% 0.1676 -0.0433)
OKLCHoklch(52.22% 0.173 345.5)
XYZxyz(21.5930, 12.4482, 21.3401)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA337F #33AA5E
analogous
#9933AA #AA337F #AA3343
triadic
#AA337F #7FAA33 #337FAA
tetradic
#AA337F #AA9933 #33AA5E #3343AA
square
#AA337F #AA9933 #33AA5E #3343AA
split-complementary
#AA337F #43AA33 #33AA99
monochromatic
#4C1739 #7B255C #AA337F #CA509E #D97FB8

Accessibility & contrast

On white

6.02
#AA337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AA337F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA337F
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA337F#FFFFFF#000000##FFFFFF
##AA337F1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#B53154
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa337f;
/* rgb */ color: rgb(170, 51, 127);
/* oklch */ color: oklch(52.2% 0.173 345.5);
Tailwind
colors: {
  custom: {
    50: '#c774a4',
    500: '#aa337f',
    950: '#000000',
  },
}
SCSS
$custom: #aa337f;
$custom-light: #c774a4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa337f",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 321.681,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52217,
    "c": 0.17314,
    "h": 345.5
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#AA337F
secondary
#77C292
accent
#DD804B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA337F

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

Preview Lab → · Contrast checker → · Palette generator →

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