#AA28A3#AA28A3

#AA28A3 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.210 H 330.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AA28A3
RGBrgb(170, 40, 163)
HSLhsl(303, 62%, 41%)
HSVhsv(303, 76%, 67%)
CMYKcmyk(0%, 76.5%, 4.1%, 33.3%)
CIE-LABlab(42.32, 64.41, -37.53)
CIE-LCHlch(42.32, 74.54, 329.77°)
OKLaboklab(53.07% 0.183 -0.1036)
OKLCHoklch(53.07% 0.21 330.5)
XYZxyz(23.9471, 12.7099, 35.8352)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA28A3 #28AA2F
analogous
#7028AA #AA28A3 #AA2862
triadic
#AA28A3 #A3AA28 #28A3AA
tetradic
#AA28A3 #AA7028 #28AA2F #2862AA
square
#AA28A3 #AA7028 #28AA2F #2862AA
split-complementary
#AA28A3 #62AA28 #28AA70
monochromatic
#471144 #781C73 #AA28A3 #D23ECA #DD6FD7

Accessibility & contrast

On white

5.93
#AA28A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AA28A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA28A3
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA28A3#FFFFFF#000000##FFFFFF
##AA28A31.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1759A6
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#B13A64
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa28a3;
/* rgb */ color: rgb(170, 40, 163);
/* oklch */ color: oklch(53.1% 0.210 330.5);
Tailwind
colors: {
  custom: {
    50: '#c771bf',
    500: '#aa28a3',
    950: '#000000',
  },
}
SCSS
$custom: #aa28a3;
$custom-light: #c771bf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa28a3",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 303.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.53066,
    "c": 0.21025,
    "h": 330.5
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#AA28A3
secondary
#6AC46F
accent
#E54C43
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AA28A3

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

Preview Lab → · Contrast checker → · Palette generator →

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