#AA2896#AA2896

#AA2896 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.201 H 335.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AA2896
RGBrgb(170, 40, 150)
HSLhsl(309, 62%, 41%)
HSVhsv(309, 76%, 67%)
CMYKcmyk(0%, 76.5%, 11.8%, 33.3%)
CIE-LABlab(41.64, 62.42, -30.78)
CIE-LCHlch(41.64, 69.60, 333.75°)
OKLaboklab(52.35% 0.1824 -0.0841)
OKLCHoklch(52.35% 0.201 335.2)
XYZxyz(22.8417, 12.2677, 30.0132)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2896 #28AA3C
analogous
#7D28AA #AA2896 #AA2855
triadic
#AA2896 #96AA28 #2896AA
tetradic
#AA2896 #AA7D28 #28AA3C #2855AA
square
#AA2896 #AA7D28 #28AA3C #2855AA
split-complementary
#AA2896 #55AA28 #28AA7D
monochromatic
#47113F #781C6A #AA2896 #D23EBB #DD6FCC

Accessibility & contrast

On white

6.08
#AA2896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AA2896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2896
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2896#FFFFFF#000000##FFFFFF
##AA28961.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285699
Deuteranopia (green-blind)
#576993
Tritanopia (blue-blind)
#B3335D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2896;
/* rgb */ color: rgb(170, 40, 150);
/* oklch */ color: oklch(52.4% 0.201 335.2);
Tailwind
colors: {
  custom: {
    50: '#c770b5',
    500: '#aa2896',
    950: '#000000',
  },
}
SCSS
$custom: #aa2896;
$custom-light: #c770b5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2896",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 309.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.20089,
    "h": 335.2
  },
  "luminance": 0.12266
}

Semantic roles & 50–950 ramp

primary
#AA2896
secondary
#6AC478
accent
#E55C43
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2896

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

Preview Lab → · Contrast checker → · Palette generator →

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