#AA3291#AA3291

#AA3291 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.186 H 337.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AA3291
RGBrgb(170, 50, 145)
HSLhsl(313, 55%, 43%)
HSVhsv(313, 71%, 67%)
CMYKcmyk(0%, 70.6%, 14.7%, 33.3%)
CIE-LABlab(42.57, 58.34, -26.29)
CIE-LCHlch(42.57, 63.99, 335.74°)
OKLaboklab(52.95% 0.172 -0.0714)
OKLCHoklch(52.95% 0.186 337.5)
XYZxyz(22.8294, 12.8737, 28.0651)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3291 #32AA4B
analogous
#8732AA #AA3291 #AA3255
triadic
#AA3291 #91AA32 #3291AA
tetradic
#AA3291 #AA8732 #32AA4B #3255AA
square
#AA3291 #AA8732 #32AA4B #3255AA
split-complementary
#AA3291 #55AA32 #32AA87
monochromatic
#4B1640 #7B2469 #AA3291 #CB4EB1 #D97DC6

Accessibility & contrast

On white

5.88
#AA3291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AA3291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3291
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3291#FFFFFF#000000##FFFFFF
##AA32911.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365994
Deuteranopia (green-blind)
#5D6B8E
Tritanopia (blue-blind)
#B3385D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa3291;
/* rgb */ color: rgb(170, 50, 145);
/* oklch */ color: oklch(52.9% 0.186 337.5);
Tailwind
colors: {
  custom: {
    50: '#c774b1',
    500: '#aa3291',
    950: '#000000',
  },
}
SCSS
$custom: #aa3291;
$custom-light: #c774b1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3291",
  "rgb": {
    "r": 170,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 312.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.18619,
    "h": 337.5
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#AA3291
secondary
#76C286
accent
#DE694A
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA3291

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

Preview Lab → · Contrast checker → · Palette generator →

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