#A53171#A53171

#A53171 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.164 H 350.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A53171
RGBrgb(165, 49, 113)
HSLhsl(327, 54%, 42%)
HSVhsv(327, 70%, 65%)
CMYKcmyk(0%, 70.3%, 31.5%, 35.3%)
CIE-LABlab(40.23, 53.01, -10.29)
CIE-LCHlch(40.23, 54.00, 349.01°)
OKLaboklab(50.64% 0.1617 -0.0268)
OKLCHoklch(50.64% 0.164 350.6)
XYZxyz(19.5970, 11.3904, 16.7861)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A53171 #31A565
analogous
#9F31A5 #A53171 #A53137
triadic
#A53171 #71A531 #3171A5
tetradic
#A53171 #A59F31 #31A565 #3137A5
square
#A53171 #A59F31 #31A565 #3137A5
split-complementary
#A53171 #37A531 #31A59F
monochromatic
#471530 #762351 #A53171 #C94A90 #D779AD

Accessibility & contrast

On white

6.41
#A53171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A53171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A53171
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A53171#FFFFFF#000000##FFFFFF
##A531711.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435273
Deuteranopia (green-blind)
#64666E
Tritanopia (blue-blind)
#B12A4C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a53171;
/* rgb */ color: rgb(165, 49, 113);
/* oklch */ color: oklch(50.6% 0.164 350.6);
Tailwind
colors: {
  custom: {
    50: '#c47299',
    500: '#a53171',
    950: '#000000',
  },
}
SCSS
$custom: #a53171;
$custom-light: #c47299;
$custom-dark: #000000;
JSON
{
  "hex": "#a53171",
  "rgb": {
    "r": 165,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 326.897,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.16394,
    "h": 350.6
  },
  "luminance": 0.11388
}

Semantic roles & 50–950 ramp

primary
#A53171
secondary
#72C095
accent
#DE8C4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A53171

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

Preview Lab → · Contrast checker → · Palette generator →

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