#AA1F5A#AA1F5A

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

Color values

HEX#AA1F5A
RGBrgb(170, 31, 90)
HSLhsl(335, 69%, 39%)
HSVhsv(335, 82%, 67%)
CMYKcmyk(0%, 81.8%, 47.1%, 33.3%)
CIE-LABlab(38.32, 57.79, 1.48)
CIE-LCHlch(38.32, 57.81, 1.47°)
OKLaboklab(49.15% 0.1776 0.0044)
OKLCHoklch(49.15% 0.178 1.4)
XYZxyz(18.9146, 10.2668, 10.6566)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1F5A #1FAA6F
analogous
#AA1FA0 #AA1F5A #AA291F
triadic
#AA1F5A #5AAA1F #1F5AAA
tetradic
#AA1F5A #A0AA1F #1FAA6F #291FAA
square
#AA1F5A #A0AA1F #1FAA6F #291FAA
split-complementary
#AA1F5A #1FAA29 #1FA0AA
monochromatic
#420C23 #76163F #AA1F5A #D92D76 #E26198

Accessibility & contrast

On white

6.88
#AA1F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#AA1F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1F5A
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1F5A#FFFFFF#000000##FFFFFF
##AA1F5A1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42495B
Deuteranopia (green-blind)
#676457
Tritanopia (blue-blind)
#B9003A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #aa1f5a;
/* rgb */ color: rgb(170, 31, 90);
/* oklch */ color: oklch(49.2% 0.178 1.4);
Tailwind
colors: {
  custom: {
    50: '#c96b88',
    500: '#aa1f5a',
    950: '#000000',
  },
}
SCSS
$custom: #aa1f5a;
$custom-light: #c96b88;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1f5a",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 334.532,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49152,
    "c": 0.17761,
    "h": 1.4
  },
  "luminance": 0.10264
}

Semantic roles & 50–950 ramp

primary
#AA1F5A
secondary
#5EC79A
accent
#ECA13C
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AA1F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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