#AA2188#AA2188

#AA2188 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.198 H 340.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AA2188
RGBrgb(170, 33, 136)
HSLhsl(315, 67%, 40%)
HSVhsv(315, 81%, 67%)
CMYKcmyk(0%, 80.6%, 20%, 33.3%)
CIE-LABlab(40.27, 62.43, -24.39)
CIE-LCHlch(40.27, 67.02, 338.66°)
OKLaboklab(51.15% 0.187 -0.0658)
OKLCHoklch(51.15% 0.198 340.6)
XYZxyz(21.5660, 11.4136, 24.3551)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2188 #21AA43
analogous
#8821AA #AA2188 #AA2143
triadic
#AA2188 #88AA21 #2188AA
tetradic
#AA2188 #AA8821 #21AA43 #2143AA
square
#AA2188 #AA8821 #21AA43 #2143AA
split-complementary
#AA2188 #43AA21 #21AA88
monochromatic
#430D36 #77175F #AA2188 #D731AE #E164C2

Accessibility & contrast

On white

6.40
#AA2188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AA2188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2188
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2188#FFFFFF#000000##FFFFFF
##AA21881.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518B
Deuteranopia (green-blind)
#5B6785
Tritanopia (blue-blind)
#B52653
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa2188;
/* rgb */ color: rgb(170, 33, 136);
/* oklch */ color: oklch(51.1% 0.198 340.6);
Tailwind
colors: {
  custom: {
    50: '#c76dab',
    500: '#aa2188',
    950: '#000000',
  },
}
SCSS
$custom: #aa2188;
$custom-light: #c76dab;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2188",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 314.891,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.19823,
    "h": 340.6
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#AA2188
secondary
#61C67A
accent
#EA683D
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA2188

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

Preview Lab → · Contrast checker → · Palette generator →

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