#AA298D#AA298D

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

Color values

HEX#AA298D
RGBrgb(170, 41, 141)
HSLhsl(313, 61%, 41%)
HSVhsv(313, 76%, 67%)
CMYKcmyk(0%, 75.9%, 17.1%, 33.3%)
CIE-LABlab(41.31, 60.81, -25.83)
CIE-LCHlch(41.31, 66.07, 336.98°)
OKLaboklab(51.97% 0.1806 -0.07)
OKLCHoklch(51.97% 0.194 338.8)
XYZxyz(22.1788, 12.0572, 26.3534)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA298D #29AA46
analogous
#8729AA #AA298D #AA294D
triadic
#AA298D #8DAA29 #298DAA
tetradic
#AA298D #AA8729 #29AA46 #294DAA
square
#AA298D #AA8729 #29AA46 #294DAA
split-complementary
#AA298D #4DAA29 #29AA87
monochromatic
#47113B #791D64 #AA298D #D13FB0 #DD71C4

Accessibility & contrast

On white

6.16
#AA298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AA298D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA298D
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA298D#FFFFFF#000000##FFFFFF
##AA298D1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305590
Deuteranopia (green-blind)
#5C698A
Tritanopia (blue-blind)
#B42F58
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa298d;
/* rgb */ color: rgb(170, 41, 141);
/* oklch */ color: oklch(52.0% 0.194 338.8);
Tailwind
colors: {
  custom: {
    50: '#c771ae',
    500: '#aa298d',
    950: '#000000',
  },
}
SCSS
$custom: #aa298d;
$custom-light: #c771ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa298d",
  "rgb": {
    "r": 170,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 313.488,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.19371,
    "h": 338.8
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#AA298D
secondary
#6BC47F
accent
#E46844
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA298D

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

Preview Lab → · Contrast checker → · Palette generator →

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