#AA1F5F#AA1F5F

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

Color values

HEX#AA1F5F
RGBrgb(170, 31, 95)
HSLhsl(332, 69%, 39%)
HSVhsv(332, 82%, 67%)
CMYKcmyk(0%, 81.8%, 44.1%, 33.3%)
CIE-LABlab(38.47, 58.25, -1.48)
CIE-LCHlch(38.47, 58.27, 358.55°)
OKLaboklab(49.32% 0.1792 -0.0032)
OKLCHoklch(49.32% 0.179 359)
XYZxyz(19.1346, 10.3548, 11.8153)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1F5F #1FAA6A
analogous
#AA1FA5 #AA1F5F #AA251F
triadic
#AA1F5F #5FAA1F #1F5FAA
tetradic
#AA1F5F #A5AA1F #1FAA6A #251FAA
square
#AA1F5F #A5AA1F #1FAA6A #251FAA
split-complementary
#AA1F5F #1FAA25 #1FA5AA
monochromatic
#420C25 #761642 #AA1F5F #D92D7C #E2619D

Accessibility & contrast

On white

6.84
#AA1F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#AA1F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1F5F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1F5F#FFFFFF#000000##FFFFFF
##AA1F5F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#66645C
Tritanopia (blue-blind)
#B9003D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #aa1f5f;
/* rgb */ color: rgb(170, 31, 95);
/* oklch */ color: oklch(49.3% 0.179 359.0);
Tailwind
colors: {
  custom: {
    50: '#c96b8c',
    500: '#aa1f5f',
    950: '#000000',
  },
}
SCSS
$custom: #aa1f5f;
$custom-light: #c96b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1f5f",
  "rgb": {
    "r": 170,
    "g": 31,
    "b": 95
  },
  "hsl": {
    "h": 332.374,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49316,
    "c": 0.17926,
    "h": 359
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#AA1F5F
secondary
#5EC797
accent
#EC9B3C
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080C
muted
#837A7D

Preview Lab

Preview with #AA1F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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