#AA1F5D#AA1F5D

#AA1F5D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.179 H 360.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#AA1F5D
RGBrgb(170, 31, 93)
HSLhsl(333, 69%, 39%)
HSVhsv(333, 82%, 67%)
CMYKcmyk(0%, 81.8%, 45.3%, 33.3%)
CIE-LABlab(38.41, 58.06, -0.30)
CIE-LCHlch(38.41, 58.06, 359.71°)
OKLaboklab(49.25% 0.1786 -0.0001)
OKLCHoklch(49.25% 0.179 0)
XYZxyz(19.0449, 10.3189, 11.3427)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1F5D #1FAA6C
analogous
#AA1FA3 #AA1F5D #AA261F
triadic
#AA1F5D #5DAA1F #1F5DAA
tetradic
#AA1F5D #A3AA1F #1FAA6C #261FAA
square
#AA1F5D #A3AA1F #1FAA6C #261FAA
split-complementary
#AA1F5D #1FAA26 #1FA3AA
monochromatic
#420C24 #761641 #AA1F5D #D92D7A #E2619B

Accessibility & contrast

On white

6.86
#AA1F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA1F5D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1F5D#FFFFFF#000000##FFFFFF
##AA1F5D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A5E
Deuteranopia (green-blind)
#67645A
Tritanopia (blue-blind)
#B9003C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #aa1f5d;
/* rgb */ color: rgb(170, 31, 93);
/* oklch */ color: oklch(49.3% 0.179 360.0);
Tailwind
colors: {
  custom: {
    50: '#c96b8a',
    500: '#aa1f5d',
    950: '#000000',
  },
}
SCSS
$custom: #aa1f5d;
$custom-light: #c96b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1f5d",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 333.237,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4925,
    "c": 0.17857,
    "h": 360
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#AA1F5D
secondary
#5EC798
accent
#EC9D3C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AA1F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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