#AA3174#AA3174

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

Color values

HEX#AA3174
RGBrgb(170, 49, 116)
HSLhsl(327, 55%, 43%)
HSVhsv(327, 71%, 67%)
CMYKcmyk(0%, 71.2%, 31.8%, 33.3%)
CIE-LABlab(41.23, 54.79, -10.57)
CIE-LCHlch(41.23, 55.80, 349.08°)
OKLaboklab(51.57% 0.1673 -0.0275)
OKLCHoklch(51.57% 0.17 350.7)
XYZxyz(20.8294, 12.0060, 17.7401)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3174 #31AA67
analogous
#A331AA #AA3174 #AA3137
triadic
#AA3174 #74AA31 #3174AA
tetradic
#AA3174 #AAA331 #31AA67 #3137AA
square
#AA3174 #AAA331 #31AA67 #3137AA
split-complementary
#AA3174 #37AA31 #31AAA3
monochromatic
#4B1633 #7A2354 #AA3174 #CC4D93 #D97CB0

Accessibility & contrast

On white

6.18
#AA3174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA3174
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3174#FFFFFF#000000##FFFFFF
##AA31741.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445376
Deuteranopia (green-blind)
#676971
Tritanopia (blue-blind)
#B72A4E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa3174;
/* rgb */ color: rgb(170, 49, 116);
/* oklch */ color: oklch(51.6% 0.170 350.7);
Tailwind
colors: {
  custom: {
    50: '#c7739c',
    500: '#aa3174',
    950: '#000000',
  },
}
SCSS
$custom: #aa3174;
$custom-light: #c7739c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3174",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 326.777,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51569,
    "c": 0.16951,
    "h": 350.7
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#AA3174
secondary
#75C297
accent
#DF8C49
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA3174

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

Preview Lab → · Contrast checker → · Palette generator →

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