#AA3178#AA3178

#AA3178 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.172 H 348.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AA3178
RGBrgb(170, 49, 120)
HSLhsl(325, 55%, 43%)
HSVhsv(325, 71%, 67%)
CMYKcmyk(0%, 71.2%, 29.4%, 33.3%)
CIE-LABlab(41.38, 55.28, -12.82)
CIE-LCHlch(41.38, 56.75, 346.94°)
OKLaboklab(51.73% 0.1683 -0.0336)
OKLCHoklch(51.73% 0.172 348.7)
XYZxyz(21.0671, 12.1011, 18.9919)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3178 #31AA63
analogous
#9F31AA #AA3178 #AA313C
triadic
#AA3178 #78AA31 #3178AA
tetradic
#AA3178 #AA9F31 #31AA63 #313CAA
square
#AA3178 #AA9F31 #31AA63 #313CAA
split-complementary
#AA3178 #3CAA31 #31AA9F
monochromatic
#4B1635 #7A2356 #AA3178 #CC4D97 #D97CB3

Accessibility & contrast

On white

6.14
#AA3178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AA3178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3178
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3178#FFFFFF#000000##FFFFFF
##AA31781.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547A
Deuteranopia (green-blind)
#656975
Tritanopia (blue-blind)
#B62C50
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa3178;
/* rgb */ color: rgb(170, 49, 120);
/* oklch */ color: oklch(51.7% 0.172 348.7);
Tailwind
colors: {
  custom: {
    50: '#c7739f',
    500: '#aa3178',
    950: '#000000',
  },
}
SCSS
$custom: #aa3178;
$custom-light: #c7739f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3178",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 324.793,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51729,
    "c": 0.17163,
    "h": 348.7
  },
  "luminance": 0.12099
}

Semantic roles & 50–950 ramp

primary
#AA3178
secondary
#75C295
accent
#DF8749
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA3178

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

Preview Lab → · Contrast checker → · Palette generator →

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