#AA249F#AA249F

#AA249F is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.211 H 331.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AA249F
RGBrgb(170, 36, 159)
HSLhsl(305, 65%, 40%)
HSVhsv(305, 79%, 67%)
CMYKcmyk(0%, 78.8%, 6.5%, 33.3%)
CIE-LABlab(41.71, 64.92, -36.10)
CIE-LCHlch(41.71, 74.29, 330.92°)
OKLaboklab(52.56% 0.1862 -0.0994)
OKLCHoklch(52.56% 0.211 331.9)
XYZxyz(23.4665, 12.3130, 33.9349)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA249F #24AA2F
analogous
#7224AA #AA249F #AA245C
triadic
#AA249F #9FAA24 #249FAA
tetradic
#AA249F #AA7224 #24AA2F #245CAA
square
#AA249F #AA7224 #24AA2F #245CAA
split-complementary
#AA249F #5CAA24 #24AA72
monochromatic
#450F41 #771970 #AA249F #D537C8 #DF69D6

Accessibility & contrast

On white

6.07
#AA249F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AA249F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA249F
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA249F#FFFFFF#000000##FFFFFF
##AA249F1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1757A2
Deuteranopia (green-blind)
#52699C
Tritanopia (blue-blind)
#B13561
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa249f;
/* rgb */ color: rgb(170, 36, 159);
/* oklch */ color: oklch(52.6% 0.211 331.9);
Tailwind
colors: {
  custom: {
    50: '#c76fbc',
    500: '#aa249f',
    950: '#000000',
  },
}
SCSS
$custom: #aa249f;
$custom-light: #c76fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa249f",
  "rgb": {
    "r": 170,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 304.925,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52557,
    "c": 0.21108,
    "h": 331.9
  },
  "luminance": 0.12311
}

Semantic roles & 50–950 ramp

primary
#AA249F
secondary
#65C56D
accent
#E84E40
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AA249F

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

Preview Lab → · Contrast checker → · Palette generator →

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