#AA1B51#AA1B51

#AA1B51 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.178 H 5.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#AA1B51
RGBrgb(170, 27, 81)
HSLhsl(337, 73%, 39%)
HSVhsv(337, 84%, 67%)
CMYKcmyk(0%, 84.1%, 52.4%, 33.3%)
CIE-LABlab(37.71, 58.03, 6.37)
CIE-LCHlch(37.71, 58.38, 6.27°)
OKLaboklab(48.62% 0.1776 0.0167)
OKLCHoklch(48.62% 0.178 5.4)
XYZxyz(18.4564, 9.9267, 8.7272)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1B51 #1BAA74
analogous
#AA1B98 #AA1B51 #AA2D1B
triadic
#AA1B51 #51AA1B #1B51AA
tetradic
#AA1B51 #98AA1B #1BAA74 #2D1BAA
square
#AA1B51 #98AA1B #1BAA74 #2D1BAA
split-complementary
#AA1B51 #1BAA2D #1B98AA
monochromatic
#400A1F #751338 #AA1B51 #DC266B #E55B8F

Accessibility & contrast

On white

7.04
#AA1B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#AA1B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AA1B51
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1B51#FFFFFF#000000##FFFFFF
##AA1B511.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434752
Deuteranopia (green-blind)
#68634E
Tritanopia (blue-blind)
#BA0034
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #aa1b51;
/* rgb */ color: rgb(170, 27, 81);
/* oklch */ color: oklch(48.6% 0.178 5.4);
Tailwind
colors: {
  custom: {
    50: '#ca6981',
    500: '#aa1b51',
    950: '#000000',
  },
}
SCSS
$custom: #aa1b51;
$custom-light: #ca6981;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1b51",
  "rgb": {
    "r": 170,
    "g": 27,
    "b": 81
  },
  "hsl": {
    "h": 337.343,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48624,
    "c": 0.17834,
    "h": 5.4
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#AA1B51
secondary
#58C99E
accent
#EFAA39
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #AA1B51

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

Preview Lab → · Contrast checker → · Palette generator →

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