#AA28AC#AA28AC

#AA28AC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.217 H 327.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AA28AC
RGBrgb(170, 40, 172)
HSLhsl(299, 62%, 42%)
HSVhsv(299, 77%, 67%)
CMYKcmyk(1.2%, 76.7%, 0%, 32.5%)
CIE-LABlab(42.83, 65.85, -42.09)
CIE-LCHlch(42.83, 78.15, 327.42°)
OKLaboklab(53.59% 0.1828 -0.1168)
OKLCHoklch(53.59% 0.217 327.4)
XYZxyz(24.7824, 13.0440, 40.2342)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA28AC #2AAC28
analogous
#6828AC #AA28AC #AC286C
triadic
#AA28AC #ACAA28 #28ACAA
tetradic
#AA28AC #AC6828 #2AAC28 #286CAC
square
#AA28AC #AC6828 #2AAC28 #286CAC
split-complementary
#AA28AC #6CAC28 #28AC68
monochromatic
#481149 #791C7A #AA28AC #D03FD2 #DC71DE

Accessibility & contrast

On white

5.82
#AA28AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AA28AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA28AC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA28AC#FFFFFF#000000##FFFFFF
##AA28AC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#AF3F69
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #aa28ac;
/* rgb */ color: rgb(170, 40, 172);
/* oklch */ color: oklch(53.6% 0.217 327.4);
Tailwind
colors: {
  custom: {
    50: '#c771c5',
    500: '#aa28ac',
    950: '#000000',
  },
}
SCSS
$custom: #aa28ac;
$custom-light: #c771c5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa28ac",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 299.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5359,
    "c": 0.21698,
    "h": 327.4
  },
  "luminance": 0.13042
}

Semantic roles & 50–950 ramp

primary
#AA28AC
secondary
#6CC56B
accent
#E54245
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AA28AC

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

Preview Lab → · Contrast checker → · Palette generator →

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