#AA338F#AA338F

#AA338F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.184 H 338.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AA338F
RGBrgb(170, 51, 143)
HSLhsl(314, 54%, 43%)
HSVhsv(314, 70%, 67%)
CMYKcmyk(0%, 70%, 15.9%, 33.3%)
CIE-LABlab(42.61, 57.68, -25.02)
CIE-LCHlch(42.61, 62.87, 336.55°)
OKLaboklab(52.95% 0.1706 -0.0678)
OKLCHoklch(52.95% 0.184 338.3)
XYZxyz(22.7198, 12.8990, 27.2745)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA338F #33AA4E
analogous
#8933AA #AA338F #AA3354
triadic
#AA338F #8FAA33 #338FAA
tetradic
#AA338F #AA8933 #33AA4E #3354AA
square
#AA338F #AA8933 #33AA4E #3354AA
split-complementary
#AA338F #54AA33 #33AA89
monochromatic
#4C1740 #7B2567 #AA338F #CA50AF #D97FC4

Accessibility & contrast

On white

5.87
#AA338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AA338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA338F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA338F#FFFFFF#000000##FFFFFF
##AA338F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#5F6B8C
Tritanopia (blue-blind)
#B3385D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa338f;
/* rgb */ color: rgb(170, 51, 143);
/* oklch */ color: oklch(52.9% 0.184 338.3);
Tailwind
colors: {
  custom: {
    50: '#c775b0',
    500: '#aa338f',
    950: '#000000',
  },
}
SCSS
$custom: #aa338f;
$custom-light: #c775b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa338f",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 313.613,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52946,
    "c": 0.18355,
    "h": 338.3
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#AA338F
secondary
#77C288
accent
#DD6C4B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA338F

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

Preview Lab → · Contrast checker → · Palette generator →

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