#AA298E#AA298E

#AA298E is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.194 H 338.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AA298E
RGBrgb(170, 41, 142)
HSLhsl(313, 61%, 41%)
HSVhsv(313, 76%, 67%)
CMYKcmyk(0%, 75.9%, 16.5%, 33.3%)
CIE-LABlab(41.35, 60.95, -26.37)
CIE-LCHlch(41.35, 66.41, 336.61°)
OKLaboklab(52.02% 0.1807 -0.0715)
OKLCHoklch(52.02% 0.194 338.4)
XYZxyz(22.2535, 12.0871, 26.7470)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA298E #29AA45
analogous
#8629AA #AA298E #AA294E
triadic
#AA298E #8EAA29 #298EAA
tetradic
#AA298E #AA8629 #29AA45 #294EAA
square
#AA298E #AA8629 #29AA45 #294EAA
split-complementary
#AA298E #4EAA29 #29AA86
monochromatic
#47113C #791D65 #AA298E #D13FB1 #DD71C5

Accessibility & contrast

On white

6.15
#AA298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA298E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA298E#FFFFFF#000000##FFFFFF
##AA298E1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#5B698B
Tritanopia (blue-blind)
#B43059
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa298e;
/* rgb */ color: rgb(170, 41, 142);
/* oklch */ color: oklch(52.0% 0.194 338.4);
Tailwind
colors: {
  custom: {
    50: '#c771af',
    500: '#aa298e',
    950: '#000000',
  },
}
SCSS
$custom: #aa298e;
$custom-light: #c771af;
$custom-dark: #000000;
JSON
{
  "hex": "#aa298e",
  "rgb": {
    "r": 170,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 313.023,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52021,
    "c": 0.19438,
    "h": 338.4
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA298E

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

Preview Lab → · Contrast checker → · Palette generator →

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