#AA2F58#AA2F58

#AA2F58 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.4% C 0.161 H 5.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AA2F58
RGBrgb(170, 47, 88)
HSLhsl(340, 57%, 43%)
HSVhsv(340, 72%, 67%)
CMYKcmyk(0%, 72.4%, 48.2%, 33.3%)
CIE-LABlab(40.06, 52.54, 5.26)
CIE-LCHlch(40.06, 52.81, 5.72°)
OKLaboklab(50.42% 0.1606 0.014)
OKLCHoklch(50.42% 0.161 5)
XYZxyz(19.3571, 11.2862, 10.3898)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F58 #2FAA81
analogous
#AA2F95 #AA2F58 #AA432F
triadic
#AA2F58 #58AA2F #2F58AA
tetradic
#AA2F58 #95AA2F #2FAA81 #432FAA
square
#AA2F58 #95AA2F #2FAA81 #432FAA
split-complementary
#AA2F58 #2FAA43 #2F95AA
monochromatic
#4A1426 #7A223F #AA2F58 #CD4975 #DA799A

Accessibility & contrast

On white

6.45
#AA2F58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AA2F58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F58
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F58#FFFFFF#000000##FFFFFF
##AA2F581.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F59
Deuteranopia (green-blind)
#6C6755
Tritanopia (blue-blind)
#B91840
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa2f58;
/* rgb */ color: rgb(170, 47, 88);
/* oklch */ color: oklch(50.4% 0.161 5.0);
Tailwind
colors: {
  custom: {
    50: '#c97186',
    500: '#aa2f58',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f58;
$custom-light: #c97186;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f58",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 340,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.16116,
    "h": 5
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

primary
#AA2F58
secondary
#72C2A8
accent
#E0AD48
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AA2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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