#AA1F62#AA1F62

#AA1F62 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.180 H 357.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AA1F62
RGBrgb(170, 31, 98)
HSLhsl(331, 69%, 39%)
HSVhsv(331, 82%, 67%)
CMYKcmyk(0%, 81.8%, 42.4%, 33.3%)
CIE-LABlab(38.57, 58.54, -3.24)
CIE-LCHlch(38.57, 58.63, 356.83°)
OKLaboklab(49.42% 0.1802 -0.0078)
OKLCHoklch(49.42% 0.18 357.5)
XYZxyz(19.2736, 10.4104, 12.5474)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1F62 #1FAA67
analogous
#AA1FA8 #AA1F62 #AA221F
triadic
#AA1F62 #62AA1F #1F62AA
tetradic
#AA1F62 #A8AA1F #1FAA67 #221FAA
square
#AA1F62 #A8AA1F #1FAA67 #221FAA
split-complementary
#AA1F62 #1FAA22 #1FA8AA
monochromatic
#420C26 #761644 #AA1F62 #D92D80 #E2619F

Accessibility & contrast

On white

6.81
#AA1F62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AA1F62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1F62
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1F62#FFFFFF#000000##FFFFFF
##AA1F621.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A64
Deuteranopia (green-blind)
#66645F
Tritanopia (blue-blind)
#B8003E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #aa1f62;
/* rgb */ color: rgb(170, 31, 98);
/* oklch */ color: oklch(49.4% 0.180 357.5);
Tailwind
colors: {
  custom: {
    50: '#c96b8e',
    500: '#aa1f62',
    950: '#000000',
  },
}
SCSS
$custom: #aa1f62;
$custom-light: #c96b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1f62",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 98
  },
  "hsl": {
    "h": 331.079,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.18036,
    "h": 357.5
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#AA1F62
secondary
#5EC794
accent
#EC973C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080C
muted
#837A7D

Preview Lab

Preview with #AA1F62

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

Preview Lab → · Contrast checker → · Palette generator →

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