#AA1F5B#AA1F5B

#AA1F5B is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.178 H 0.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#AA1F5B
RGBrgb(170, 31, 91)
HSLhsl(334, 69%, 39%)
HSVhsv(334, 82%, 67%)
CMYKcmyk(0%, 81.8%, 46.5%, 33.3%)
CIE-LABlab(38.35, 57.88, 0.89)
CIE-LCHlch(38.35, 57.89, 0.88°)
OKLaboklab(49.18% 0.1779 0.0029)
OKLCHoklch(49.18% 0.178 0.9)
XYZxyz(18.9575, 10.2840, 10.8822)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1F5B #1FAA6E
analogous
#AA1FA1 #AA1F5B #AA291F
triadic
#AA1F5B #5BAA1F #1F5BAA
tetradic
#AA1F5B #A1AA1F #1FAA6E #291FAA
square
#AA1F5B #A1AA1F #1FAA6E #291FAA
split-complementary
#AA1F5B #1FAA29 #1FA1AA
monochromatic
#420C24 #76163F #AA1F5B #D92D77 #E26199

Accessibility & contrast

On white

6.87
#AA1F5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#AA1F5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1F5B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1F5B#FFFFFF#000000##FFFFFF
##AA1F5B1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42495C
Deuteranopia (green-blind)
#676458
Tritanopia (blue-blind)
#B9003B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #aa1f5b;
/* rgb */ color: rgb(170, 31, 91);
/* oklch */ color: oklch(49.2% 0.178 0.9);
Tailwind
colors: {
  custom: {
    50: '#c96b89',
    500: '#aa1f5b',
    950: '#000000',
  },
}
SCSS
$custom: #aa1f5b;
$custom-light: #c96b89;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1f5b",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 334.101,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49184,
    "c": 0.17792,
    "h": 0.9
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#AA1F5B
secondary
#5EC79A
accent
#ECA03C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AA1F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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