#AA538F#AA538F

#AA538F is a mid, vivid pink. Relative luminance 0.167; OKLCH L 56.8% C 0.136 H 340.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AA538F
RGBrgb(170, 83, 143)
HSLhsl(319, 34%, 50%)
HSVhsv(319, 51%, 67%)
CMYKcmyk(0%, 51.2%, 15.9%, 33.3%)
CIE-LABlab(47.90, 43.33, -16.87)
CIE-LCHlch(47.90, 46.50, 338.72°)
OKLaboklab(56.84% 0.1278 -0.0451)
OKLCHoklch(56.84% 0.136 340.5)
XYZxyz(24.6291, 16.7176, 27.9109)
Luminance0.1672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA538F #53AA6E
analogous
#9A53AA #AA538F #AA5364
triadic
#AA538F #8FAA53 #538FAA
tetradic
#AA538F #AA9A53 #53AA6E #5364AA
square
#AA538F #AA9A53 #53AA6E #5364AA
split-complementary
#AA538F #64AA53 #53AA9A
monochromatic
#582B4A #813F6C #AA538F #BF7BAA #D3A5C4

Accessibility & contrast

On white

4.84
#AA538F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#AA538F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA538F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA538F#FFFFFF#000000##FFFFFF
##AA538F1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576991
Deuteranopia (green-blind)
#6F778D
Tritanopia (blue-blind)
#B3546A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #aa538f;
/* rgb */ color: rgb(170, 83, 143);
/* oklch */ color: oklch(56.8% 0.136 340.5);
Tailwind
colors: {
  custom: {
    50: '#c587b0',
    500: '#aa538f',
    950: '#000000',
  },
}
SCSS
$custom: #aa538f;
$custom-light: #c587b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa538f",
  "rgb": {
    "r": 170,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 318.621,
    "s": 34.387,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56842,
    "c": 0.13552,
    "h": 340.5
  },
  "luminance": 0.16716
}

Semantic roles & 50–950 ramp

primary
#AA538F
secondary
#99C0A5
accent
#CA7F5D
background
#FCF8FA
surface
#F8F0F4
border
#D1CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AA538F

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

Preview Lab → · Contrast checker → · Palette generator →

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