#AA2F8F#AA2F8F

#AA2F8F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.188 H 338.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AA2F8F
RGBrgb(170, 47, 143)
HSLhsl(313, 57%, 43%)
HSVhsv(313, 72%, 67%)
CMYKcmyk(0%, 72.4%, 15.9%, 33.3%)
CIE-LABlab(42.10, 59.12, -25.82)
CIE-LCHlch(42.10, 64.51, 336.41°)
OKLaboklab(52.58% 0.1749 -0.07)
OKLCHoklch(52.58% 0.188 338.2)
XYZxyz(22.5525, 12.5644, 27.2187)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F8F #2FAA4A
analogous
#882FAA #AA2F8F #AA2F51
triadic
#AA2F8F #8FAA2F #2F8FAA
tetradic
#AA2F8F #AA882F #2FAA4A #2F51AA
square
#AA2F8F #AA882F #2FAA4A #2F51AA
split-complementary
#AA2F8F #51AA2F #2FAA88
monochromatic
#4A143E #7A2267 #AA2F8F #CD49B0 #DA79C5

Accessibility & contrast

On white

5.98
#AA2F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA2F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F8F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F8F#FFFFFF#000000##FFFFFF
##AA2F8F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345792
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#B3355B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2f8f;
/* rgb */ color: rgb(170, 47, 143);
/* oklch */ color: oklch(52.6% 0.188 338.2);
Tailwind
colors: {
  custom: {
    50: '#c773b0',
    500: '#aa2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f8f;
$custom-light: #c773b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f8f",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 313.171,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.18839,
    "h": 338.2
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#AA2F8F
secondary
#72C284
accent
#E06948
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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