#AA2F5C#AA2F5C

#AA2F5C is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.5% C 0.162 H 2.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AA2F5C
RGBrgb(170, 47, 92)
HSLhsl(338, 57%, 43%)
HSVhsv(338, 72%, 67%)
CMYKcmyk(0%, 72.4%, 45.9%, 33.3%)
CIE-LABlab(40.17, 52.92, 2.90)
CIE-LCHlch(40.17, 53.00, 3.13°)
OKLaboklab(50.54% 0.162 0.008)
OKLCHoklch(50.54% 0.162 2.8)
XYZxyz(19.5274, 11.3543, 11.2864)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F5C #2FAA7D
analogous
#AA2F99 #AA2F5C #AA402F
triadic
#AA2F5C #5CAA2F #2F5CAA
tetradic
#AA2F5C #99AA2F #2FAA7D #402FAA
square
#AA2F5C #99AA2F #2FAA7D #402FAA
split-complementary
#AA2F5C #2FAA40 #2F99AA
monochromatic
#4A1428 #7A2242 #AA2F5C #CD4979 #DA799D

Accessibility & contrast

On white

6.42
#AA2F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AA2F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F5C
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F5C#FFFFFF#000000##FFFFFF
##AA2F5C1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5D
Deuteranopia (green-blind)
#6B6759
Tritanopia (blue-blind)
#B91B42
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa2f5c;
/* rgb */ color: rgb(170, 47, 92);
/* oklch */ color: oklch(50.5% 0.162 2.8);
Tailwind
colors: {
  custom: {
    50: '#c8718a',
    500: '#aa2f5c',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f5c;
$custom-light: #c8718a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f5c",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 338.049,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50535,
    "c": 0.16221,
    "h": 2.8
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#AA2F5C
secondary
#72C2A5
accent
#E0A848
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AA2F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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