#AA2F5D#AA2F5D

#AA2F5D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.163 H 2.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AA2F5D
RGBrgb(170, 47, 93)
HSLhsl(338, 57%, 43%)
HSVhsv(338, 72%, 67%)
CMYKcmyk(0%, 72.4%, 45.3%, 33.3%)
CIE-LABlab(40.20, 53.01, 2.31)
CIE-LCHlch(40.20, 53.06, 2.49°)
OKLaboklab(50.57% 0.1624 0.0065)
OKLCHoklch(50.57% 0.163 2.3)
XYZxyz(19.5714, 11.3719, 11.5182)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F5D #2FAA7C
analogous
#AA2F9A #AA2F5D #AA3F2F
triadic
#AA2F5D #5DAA2F #2F5DAA
tetradic
#AA2F5D #9AAA2F #2FAA7C #3F2FAA
square
#AA2F5D #9AAA2F #2FAA7C #3F2FAA
split-complementary
#AA2F5D #2FAA3F #2F9AAA
monochromatic
#4A1429 #7A2243 #AA2F5D #CD497B #DA799E

Accessibility & contrast

On white

6.41
#AA2F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2F5D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F5D#FFFFFF#000000##FFFFFF
##AA2F5D1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa2f5d;
/* rgb */ color: rgb(170, 47, 93);
/* oklch */ color: oklch(50.6% 0.163 2.3);
Tailwind
colors: {
  custom: {
    50: '#c8728a',
    500: '#aa2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f5d;
$custom-light: #c8728a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f5d",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 337.561,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50566,
    "c": 0.1625,
    "h": 2.3
  },
  "luminance": 0.11369
}

Semantic roles & 50–950 ramp

primary
#AA2F5D
secondary
#72C2A4
accent
#E0A748
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AA2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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