#AA298F#AA298F

#AA298F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.195 H 338.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AA298F
RGBrgb(170, 41, 143)
HSLhsl(313, 61%, 41%)
HSVhsv(313, 76%, 67%)
CMYKcmyk(0%, 75.9%, 15.9%, 33.3%)
CIE-LABlab(41.40, 61.10, -26.91)
CIE-LCHlch(41.40, 66.76, 336.23°)
OKLaboklab(52.07% 0.1809 -0.073)
OKLCHoklch(52.07% 0.195 338)
XYZxyz(22.3289, 12.1172, 27.1442)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA298F #29AA44
analogous
#8529AA #AA298F #AA294F
triadic
#AA298F #8FAA29 #298FAA
tetradic
#AA298F #AA8529 #29AA44 #294FAA
square
#AA298F #AA8529 #29AA44 #294FAA
split-complementary
#AA298F #4FAA29 #29AA85
monochromatic
#47113C #791D66 #AA298F #D13FB2 #DD71C6

Accessibility & contrast

On white

6.13
#AA298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA298F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA298F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA298F#FFFFFF#000000##FFFFFF
##AA298F1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#B43059
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa298f;
/* rgb */ color: rgb(170, 41, 143);
/* oklch */ color: oklch(52.1% 0.195 338.0);
Tailwind
colors: {
  custom: {
    50: '#c771b0',
    500: '#aa298f',
    950: '#000000',
  },
}
SCSS
$custom: #aa298f;
$custom-light: #c771b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa298f",
  "rgb": {
    "r": 170,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 312.558,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52071,
    "c": 0.19505,
    "h": 338
  },
  "luminance": 0.12115
}

Semantic roles & 50–950 ramp

primary
#AA298F
secondary
#6BC47E
accent
#E46544
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA298F

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

Preview Lab → · Contrast checker → · Palette generator →

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