#AA2F51#AA2F51

#AA2F51 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.2% C 0.160 H 8.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AA2F51
RGBrgb(170, 47, 81)
HSLhsl(343, 57%, 43%)
HSVhsv(343, 72%, 67%)
CMYKcmyk(0%, 72.4%, 52.4%, 33.3%)
CIE-LABlab(39.87, 51.93, 9.42)
CIE-LCHlch(39.87, 52.78, 10.29°)
OKLaboklab(50.22% 0.1579 0.0242)
OKLCHoklch(50.22% 0.16 8.7)
XYZxyz(19.0810, 11.1757, 8.9354)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F51 #2FAA88
analogous
#AA2F8E #AA2F51 #AA4B2F
triadic
#AA2F51 #51AA2F #2F51AA
tetradic
#AA2F51 #8EAA2F #2FAA88 #4B2FAA
square
#AA2F51 #8EAA2F #2FAA88 #4B2FAA
split-complementary
#AA2F51 #2FAA4B #2F8EAA
monochromatic
#4A1423 #7A223A #AA2F51 #CD496E #DA7994

Accessibility & contrast

On white

6.49
#AA2F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AA2F51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F51
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F51#FFFFFF#000000##FFFFFF
##AA2F511.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#6D674E
Tritanopia (blue-blind)
#B9143D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #aa2f51;
/* rgb */ color: rgb(170, 47, 81);
/* oklch */ color: oklch(50.2% 0.160 8.7);
Tailwind
colors: {
  custom: {
    50: '#c97181',
    500: '#aa2f51',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f51;
$custom-light: #c97181;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f51",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 81
  },
  "hsl": {
    "h": 343.415,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50219,
    "c": 0.15973,
    "h": 8.7
  },
  "luminance": 0.11173
}

Semantic roles & 50–950 ramp

primary
#AA2F51
secondary
#72C2AC
accent
#E0B648
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AA2F51

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

Preview Lab → · Contrast checker → · Palette generator →

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