#AA2988#AA2988

#AA2988 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.190 H 340.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AA2988
RGBrgb(170, 41, 136)
HSLhsl(316, 61%, 41%)
HSVhsv(316, 76%, 67%)
CMYKcmyk(0%, 75.9%, 20%, 33.3%)
CIE-LABlab(41.08, 60.12, -23.14)
CIE-LCHlch(41.08, 64.42, 338.95°)
OKLaboklab(51.73% 0.1799 -0.0623)
OKLCHoklch(51.73% 0.19 340.9)
XYZxyz(21.8151, 11.9117, 24.4381)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2988 #29AA4B
analogous
#8C29AA #AA2988 #AA2948
triadic
#AA2988 #88AA29 #2988AA
tetradic
#AA2988 #AA8C29 #29AA4B #2948AA
square
#AA2988 #AA8C29 #29AA4B #2948AA
split-complementary
#AA2988 #48AA29 #29AA8C
monochromatic
#471139 #791D61 #AA2988 #D13FAA #DD71C0

Accessibility & contrast

On white

6.21
#AA2988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AA2988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2988
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2988#FFFFFF#000000##FFFFFF
##AA29881.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#5D6885
Tritanopia (blue-blind)
#B42C56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2988;
/* rgb */ color: rgb(170, 41, 136);
/* oklch */ color: oklch(51.7% 0.190 340.9);
Tailwind
colors: {
  custom: {
    50: '#c770ab',
    500: '#aa2988',
    950: '#000000',
  },
}
SCSS
$custom: #aa2988;
$custom-light: #c770ab;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2988",
  "rgb": {
    "r": 170,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 315.814,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51729,
    "c": 0.19044,
    "h": 340.9
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#AA2988
secondary
#6BC482
accent
#E46E44
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA2988

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

Preview Lab → · Contrast checker → · Palette generator →

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