#AA2F5F#AA2F5F

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

Color values

HEX#AA2F5F
RGBrgb(170, 47, 95)
HSLhsl(337, 57%, 43%)
HSVhsv(337, 72%, 67%)
CMYKcmyk(0%, 72.4%, 44.1%, 33.3%)
CIE-LABlab(40.26, 53.21, 1.13)
CIE-LCHlch(40.26, 53.22, 1.22°)
OKLaboklab(50.63% 0.1631 0.0035)
OKLCHoklch(50.63% 0.163 1.2)
XYZxyz(19.6611, 11.4078, 11.9908)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F5F #2FAA7A
analogous
#AA2F9D #AA2F5F #AA3C2F
triadic
#AA2F5F #5FAA2F #2F5FAA
tetradic
#AA2F5F #9DAA2F #2FAA7A #3C2FAA
square
#AA2F5F #9DAA2F #2FAA7A #3C2FAA
split-complementary
#AA2F5F #2FAA3C #2F9DAA
monochromatic
#4A1429 #7A2244 #AA2F5F #CD497D #DA799F

Accessibility & contrast

On white

6.40
#AA2F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AA2F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F5F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F5F#FFFFFF#000000##FFFFFF
##AA2F5F1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#B81C43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa2f5f;
/* rgb */ color: rgb(170, 47, 95);
/* oklch */ color: oklch(50.6% 0.163 1.2);
Tailwind
colors: {
  custom: {
    50: '#c8728c',
    500: '#aa2f5f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f5f;
$custom-light: #c8728c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f5f",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 336.585,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50629,
    "c": 0.16312,
    "h": 1.2
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#AA2F5F
secondary
#72C2A3
accent
#E0A548
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #AA2F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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