#AA1B52#AA1B52

#AA1B52 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.179 H 4.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#AA1B52
RGBrgb(170, 27, 82)
HSLhsl(337, 73%, 39%)
HSVhsv(337, 84%, 67%)
CMYKcmyk(0%, 84.1%, 51.8%, 33.3%)
CIE-LABlab(37.74, 58.11, 5.77)
CIE-LCHlch(37.74, 58.39, 5.67°)
OKLaboklab(48.65% 0.1779 0.0152)
OKLCHoklch(48.65% 0.179 4.9)
XYZxyz(18.4942, 9.9418, 8.9261)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B52 #1BAA73
analogous
#AA1B99 #AA1B52 #AA2B1B
triadic
#AA1B52 #52AA1B #1B52AA
tetradic
#AA1B52 #99AA1B #1BAA73 #2B1BAA
square
#AA1B52 #99AA1B #1BAA73 #2B1BAA
split-complementary
#AA1B52 #1BAA2B #1B99AA
monochromatic
#400A1F #751339 #AA1B52 #DC266C #E55B90

Accessibility & contrast

On white

7.03
#AA1B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#AA1B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AA1B52
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1B52#FFFFFF#000000##FFFFFF
##AA1B521.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434753
Deuteranopia (green-blind)
#68634F
Tritanopia (blue-blind)
#BA0035
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #aa1b52;
/* rgb */ color: rgb(170, 27, 82);
/* oklch */ color: oklch(48.7% 0.179 4.9);
Tailwind
colors: {
  custom: {
    50: '#ca6a82',
    500: '#aa1b52',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b52;
$custom-light: #ca6a82;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b52",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 336.923,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48653,
    "c": 0.17858,
    "h": 4.9
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#AA1B52
secondary
#58C99D
accent
#EFA939
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #AA1B52

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

Preview Lab → · Contrast checker → · Palette generator →

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