#AA4271#AA4271

#AA4271 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.4% C 0.145 H 355.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AA4271
RGBrgb(170, 66, 113)
HSLhsl(333, 44%, 46%)
HSVhsv(333, 61%, 67%)
CMYKcmyk(0%, 61.2%, 33.5%, 33.3%)
CIE-LABlab(43.71, 47.33, -5.00)
CIE-LCHlch(43.71, 47.59, 353.97°)
OKLaboklab(53.37% 0.1442 -0.0126)
OKLCHoklch(53.37% 0.145 355)
XYZxyz(21.5075, 13.6370, 17.1191)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA4271 #42AA7B
analogous
#AA42A5 #AA4271 #AA4742
triadic
#AA4271 #71AA42 #4271AA
tetradic
#AA4271 #A5AA42 #42AA7B #4742AA
square
#AA4271 #A5AA42 #42AA7B #4742AA
split-complementary
#AA4271 #42AA47 #42A5AA
monochromatic
#522036 #7E3154 #AA4271 #C36690 #D592B0

Accessibility & contrast

On white

5.63
#AA4271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AA4271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA4271
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA4271#FFFFFF#000000##FFFFFF
##AA42711.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B72
Deuteranopia (green-blind)
#6E6E6F
Tritanopia (blue-blind)
#B73B55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa4271;
/* rgb */ color: rgb(170, 66, 113);
/* oklch */ color: oklch(53.4% 0.145 355.0);
Tailwind
colors: {
  custom: {
    50: '#c77c99',
    500: '#aa4271',
    950: '#000000',
  },
}
SCSS
$custom: #aa4271;
$custom-light: #c77c99;
$custom-dark: #000000;
JSON
{
  "hex": "#aa4271",
  "rgb": {
    "r": 170,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 332.885,
    "s": 44.068,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.14478,
    "h": 355
  },
  "luminance": 0.13635
}

Semantic roles & 50–950 ramp

primary
#AA4271
secondary
#88C0A7
accent
#D49A54
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #AA4271

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

Preview Lab → · Contrast checker → · Palette generator →

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