#AA2F8D#AA2F8D

#AA2F8D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.187 H 339.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AA2F8D
RGBrgb(170, 47, 141)
HSLhsl(314, 57%, 43%)
HSVhsv(314, 72%, 67%)
CMYKcmyk(0%, 72.4%, 17.1%, 33.3%)
CIE-LABlab(42.01, 58.83, -24.75)
CIE-LCHlch(42.01, 63.82, 337.19°)
OKLaboklab(52.48% 0.1746 -0.0669)
OKLCHoklch(52.48% 0.187 339)
XYZxyz(22.4023, 12.5043, 26.4279)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F8D #2FAA4C
analogous
#892FAA #AA2F8D #AA2F50
triadic
#AA2F8D #8DAA2F #2F8DAA
tetradic
#AA2F8D #AA892F #2FAA4C #2F50AA
square
#AA2F8D #AA892F #2FAA4C #2F50AA
split-complementary
#AA2F8D #50AA2F #2FAA89
monochromatic
#4A143D #7A2265 #AA2F8D #CD49AE #DA79C3

Accessibility & contrast

On white

6.00
#AA2F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AA2F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F8D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F8D#FFFFFF#000000##FFFFFF
##AA2F8D1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365790
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#B4345A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2f8d;
/* rgb */ color: rgb(170, 47, 141);
/* oklch */ color: oklch(52.5% 0.187 339.0);
Tailwind
colors: {
  custom: {
    50: '#c773ae',
    500: '#aa2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f8d;
$custom-light: #c773ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f8d",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 314.146,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52478,
    "c": 0.18702,
    "h": 339
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#AA2F8D
secondary
#72C285
accent
#E06C48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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