#AA3271#AA3271

#AA3271 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.167 H 352.3°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AA3271
RGBrgb(170, 50, 113)
HSLhsl(329, 55%, 43%)
HSVhsv(329, 71%, 67%)
CMYKcmyk(0%, 70.6%, 33.5%, 33.3%)
CIE-LABlab(41.25, 54.05, -8.67)
CIE-LCHlch(41.25, 54.74, 350.89°)
OKLaboklab(51.55% 0.1653 -0.0223)
OKLCHoklch(51.55% 0.167 352.3)
XYZxyz(20.7000, 12.0219, 16.8499)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3271 #32AA6B
analogous
#A732AA #AA3271 #AA3235
triadic
#AA3271 #71AA32 #3271AA
tetradic
#AA3271 #AAA732 #32AA6B #3235AA
square
#AA3271 #AAA732 #32AA6B #3235AA
split-complementary
#AA3271 #35AA32 #32AAA7
monochromatic
#4B1632 #7B2452 #AA3271 #CB4E90 #D97DAD

Accessibility & contrast

On white

6.17
#AA3271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA3271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3271
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3271#FFFFFF#000000##FFFFFF
##AA32711.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465373
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#B7294D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa3271;
/* rgb */ color: rgb(170, 50, 113);
/* oklch */ color: oklch(51.6% 0.167 352.3);
Tailwind
colors: {
  custom: {
    50: '#c77399',
    500: '#aa3271',
    950: '#000000',
  },
}
SCSS
$custom: #aa3271;
$custom-light: #c77399;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3271",
  "rgb": {
    "r": 170,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 328.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.16676,
    "h": 352.3
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#AA3271
secondary
#76C29A
accent
#DE904A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA3271

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

Preview Lab → · Contrast checker → · Palette generator →

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