#AA2F88#AA2F88

#AA2F88 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.184 H 341.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AA2F88
RGBrgb(170, 47, 136)
HSLhsl(317, 57%, 43%)
HSVhsv(317, 72%, 67%)
CMYKcmyk(0%, 72.4%, 20%, 33.3%)
CIE-LABlab(41.78, 58.12, -22.05)
CIE-LCHlch(41.78, 62.16, 339.23°)
OKLaboklab(52.24% 0.1739 -0.0593)
OKLCHoklch(52.24% 0.184 341.2)
XYZxyz(22.0387, 12.3588, 24.5126)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F88 #2FAA51
analogous
#8E2FAA #AA2F88 #AA2F4B
triadic
#AA2F88 #88AA2F #2F88AA
tetradic
#AA2F88 #AA8E2F #2FAA51 #2F4BAA
square
#AA2F88 #AA8E2F #2FAA51 #2F4BAA
split-complementary
#AA2F88 #4BAA2F #2FAA8E
monochromatic
#4A143B #7A2262 #AA2F88 #CD49A8 #DA79BF

Accessibility & contrast

On white

6.05
#AA2F88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AA2F88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F88
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F88#FFFFFF#000000##FFFFFF
##AA2F881.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39568A
Deuteranopia (green-blind)
#606A85
Tritanopia (blue-blind)
#B43157
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2f88;
/* rgb */ color: rgb(170, 47, 136);
/* oklch */ color: oklch(52.2% 0.184 341.2);
Tailwind
colors: {
  custom: {
    50: '#c773ab',
    500: '#aa2f88',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f88;
$custom-light: #c773ab;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f88",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 316.585,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5224,
    "c": 0.1837,
    "h": 341.2
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#AA2F88
secondary
#72C289
accent
#E07248
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2F88

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

Preview Lab → · Contrast checker → · Palette generator →

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