#AA338E#AA338E

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

Color values

HEX#AA338E
RGBrgb(170, 51, 142)
HSLhsl(314, 54%, 43%)
HSVhsv(314, 70%, 67%)
CMYKcmyk(0%, 70%, 16.5%, 33.3%)
CIE-LABlab(42.56, 57.53, -24.49)
CIE-LCHlch(42.56, 62.52, 336.94°)
OKLaboklab(52.9% 0.1704 -0.0662)
OKLCHoklch(52.9% 0.183 338.8)
XYZxyz(22.6444, 12.8688, 26.8773)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA338E #33AA4F
analogous
#8A33AA #AA338E #AA3352
triadic
#AA338E #8EAA33 #338EAA
tetradic
#AA338E #AA8A33 #33AA4F #3352AA
square
#AA338E #AA8A33 #33AA4F #3352AA
split-complementary
#AA338E #52AA33 #33AA8A
monochromatic
#4C173F #7B2567 #AA338E #CA50AE #D97FC3

Accessibility & contrast

On white

5.88
#AA338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AA338E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA338E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA338E#FFFFFF#000000##FFFFFF
##AA338E1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#B4385C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa338e;
/* rgb */ color: rgb(170, 51, 142);
/* oklch */ color: oklch(52.9% 0.183 338.8);
Tailwind
colors: {
  custom: {
    50: '#c775af',
    500: '#aa338e',
    950: '#000000',
  },
}
SCSS
$custom: #aa338e;
$custom-light: #c775af;
$custom-dark: #000000;
JSON
{
  "hex": "#aa338e",
  "rgb": {
    "r": 170,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 314.118,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52898,
    "c": 0.18285,
    "h": 338.8
  },
  "luminance": 0.12867
}

Semantic roles & 50–950 ramp

primary
#AA338E
secondary
#77C289
accent
#DD6D4B
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA338E

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

Preview Lab → · Contrast checker → · Palette generator →

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