#AA2F57#AA2F57

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

Color values

HEX#AA2F57
RGBrgb(170, 47, 87)
HSLhsl(340, 57%, 43%)
HSVhsv(340, 72%, 67%)
CMYKcmyk(0%, 72.4%, 48.8%, 33.3%)
CIE-LABlab(40.03, 52.45, 5.85)
CIE-LCHlch(40.03, 52.78, 6.37°)
OKLaboklab(50.39% 0.1602 0.0154)
OKLCHoklch(50.39% 0.161 5.5)
XYZxyz(19.3160, 11.2698, 10.1731)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F57 #2FAA82
analogous
#AA2F94 #AA2F57 #AA452F
triadic
#AA2F57 #57AA2F #2F57AA
tetradic
#AA2F57 #94AA2F #2FAA82 #452FAA
square
#AA2F57 #94AA2F #2FAA82 #452FAA
split-complementary
#AA2F57 #2FAA45 #2F94AA
monochromatic
#4A1426 #7A223E #AA2F57 #CD4974 #DA7999

Accessibility & contrast

On white

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

On black

3.25
#AA2F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AA2F57#FFFFFF#000000##FFFFFF
##AA2F571.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa2f57;
/* rgb */ color: rgb(170, 47, 87);
/* oklch */ color: oklch(50.4% 0.161 5.5);
Tailwind
colors: {
  custom: {
    50: '#c97186',
    500: '#aa2f57',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f57;
$custom-light: #c97186;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f57",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 340.488,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.16092,
    "h": 5.5
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2F57

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

Preview Lab → · Contrast checker → · Palette generator →

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